Skip to content

Instantly share code, notes, and snippets.

View stewkk's full-sized avatar

Alexandr Starovoytov stewkk

View GitHub Profile
@stewkk
stewkk / add_test.go
Created April 3, 2022 11:09
Тесты для первого модуля дискретки
package main
import (
"reflect"
"testing"
)
func TestAdd(t *testing.T) {
a := []int32{10, 11, 12, 13} // 0xdcba
b := []int32{13, 12, 11, 10} // 0xabcd
#!/usr/bin/env python3
import sys
input_str = sys.argv[1]
pos = 0
def next_token():
global input_str, pos