Exemple #1
0
 def test_Tuple_30deg(self):
     adjustment = adjust_to_obscuring_feature((3.0, 4.0))
     assert adjustment == pytest.approx(53.130102354156)
Exemple #2
0
 def test_Tuple_neg45deg(self):
     adjustment = adjust_to_obscuring_feature((-10.0, 10.0))
     assert adjustment == pytest.approx(-45.0)
Exemple #3
0
 def test_Tuple_0(self):
     adjustment = adjust_to_obscuring_feature((0.0, 100.0))
     assert adjustment == 0.0