Example #1
0
 def test_unit_propagation_mismatch(self, unit1, unit2, op):
     with pytest.warns(UserWarning):
         assert Map._unit_propagation(unit1, unit2, op) is None
Example #2
0
 def test_unit_propagation(self, unit1, unit2, op, expected):
     assert Map._unit_propagation(unit1, unit2, op) == expected