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