Ejemplo n.º 1
0
 def test_equals_5(self):
     new = newapi.equals([(5, 100), (3, 4)], [(3, 4), (5, 100)])
     old = oldapi.equals([(5, 100), (3, 4)], [(3, 4), (5, 100)])
     assert new == old
Ejemplo n.º 2
0
 def test_equals_4(self):
     new = newapi.equals([(1, 2), (3, 4)], [(1, 4)])
     old = oldapi.equals([(1, 2), (3, 4)], [(1, 4)])
     assert new == old
Ejemplo n.º 3
0
 def test_equals_2(self):
     new = newapi.equals([(1, 1)], [(1, 2)])
     old = oldapi.equals([(1, 1)], [(1, 2)])
     assert new == old
Ejemplo n.º 4
0
 def test_equals_3(self):
     new = newapi.equals([(1, 10)], [])
     old = oldapi.equals([(1, 10)], [])
     assert new == old
Ejemplo n.º 5
0
 def test_equals_1(self):
     new = newapi.equals([], [])
     old = oldapi.equals([], [])
     assert new == old