some tests
This commit is contained in:
12
tuple_test.go
Normal file
12
tuple_test.go
Normal 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")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user