tests/basics: Expand test cases for equality of subclasses.
This commit is contained in:
parent
3aab54bf43
commit
c96a2f636b
|
@ -19,3 +19,11 @@ a = Ctuple2()
|
|||
print(len(a))
|
||||
a = Ctuple2([1, 2, 3])
|
||||
print(len(a))
|
||||
|
||||
a = tuple([1,2,3])
|
||||
b = Ctuple1([1,2,3])
|
||||
c = Ctuple2([1,2,3])
|
||||
|
||||
print(a == b)
|
||||
print(b == c)
|
||||
print(c == a)
|
||||
|
|
Loading…
Reference in New Issue