
class mytuple(tuple):
    pass

t = mytuple((1, 2, 3))
print(t)
print(t == (1, 2, 3))
print((1, 2, 3) == t)


class mytuple(tuple):
    pass

t = mytuple((1, 2, 3))
print(t)
print(t == (1, 2, 3))
print((1, 2, 3) == t)

print(t < (1, 2, 3), t < (1, 2, 4))
print((1, 2, 3) <= t, (1, 2, 4) < t)

Add test for tuple compare with class derived from tuple.
tests/basics: Add test for tuple compare with class derived from tuple.

Only the "==" operator was tested by the test suite in for such arguments.
Other comparison operators like "<" take a different path in the code so
need to be tested separately.

  
  class mytuple(tuple):
      pass
  
  t = mytuple((1, 2, 3))
  print(t)
  print(t == (1, 2, 3))
  print((1, 2, 3) == t)
  
+ print(t < (1, 2, 3), t < (1, 2, 4))
+ print((1, 2, 3) <= t, (1, 2, 4) < t)
+ 
Add test for tuple compare with class derived from tuple.
## Code Before:

class mytuple(tuple):
    pass

t = mytuple((1, 2, 3))
print(t)
print(t == (1, 2, 3))
print((1, 2, 3) == t)

## Instruction:
Add test for tuple compare with class derived from tuple.
## Code After:

class mytuple(tuple):
    pass

t = mytuple((1, 2, 3))
print(t)
print(t == (1, 2, 3))
print((1, 2, 3) == t)

print(t < (1, 2, 3), t < (1, 2, 4))
print((1, 2, 3) <= t, (1, 2, 4) < t)
