tests/basics: Expand test cases for equality of subclasses.

This commit is contained in:
Nicko van Someren 2020-01-14 21:40:08 -07:00 committed by Damien George
parent 3aab54bf43
commit c96a2f636b
1 changed files with 8 additions and 0 deletions

View File

@ -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)