Пример #1
0
 def test_AggComparison3(self):
     x = Coordinate(0)
     y = Coordinate(1)
     L1 = AggExpr(x, y)
     L2 = AggExpr(x)
     assert (not L1.sameas(L2) and not L2.sameas(L1))
Пример #2
0
 def test_AggComparison4(self):
     x = Coordinate(0)
     y = Coordinate(1)
     L1 = AggExpr(x, y)
     E2 = x + y
     assert (not L1.sameas(E2) and not E2.sameas(L1))
Пример #3
0
 def test_AggComparison2(self):
     x = Coordinate(0)
     y = Coordinate(1)
     L1 = AggExpr(x, y)
     L2 = AggExpr(y, x)
     assert (not L1.sameas(L2))