some tests

This commit is contained in:
2026-02-09 16:44:16 +03:00
parent 06327013fd
commit 8e203ed8d5
2 changed files with 31 additions and 0 deletions

12
tuple_test.go Normal file
View File

@@ -0,0 +1,12 @@
package extypes
import "testing"
func TestTuple(t *testing.T) {
t1 := NewTupleFrom([]int{1, 2, 3})
t2 := NewTupleFrom([]int{1, 2, 3})
if !t1.Equal(t2) {
t.Error("t1 and t2 should be equal")
}
}