some tests

This commit is contained in:
2026-02-09 17:39:41 +03:00
parent 8e203ed8d5
commit ce8c5b516e

View File

@@ -13,10 +13,7 @@ func (t Tuple[T]) Len() int { return t.s.Len() }
func (t Tuple[T]) Cap() int { return t.s.Cap() }
func (t Tuple[T]) Get(index int) T { return t.s.Get(index) }
func (t Tuple[T]) Equal(t2 Tuple[T]) bool {
if t.Len() != t2.Len() {
return false
}
if t.Cap() != t2.Cap() {
if t.Len() != t2.Len() || t.Cap() != t2.Cap() {
return false
}
for i := range t.s {