Beispiel #1
0
 def test_get_window_bounds_clipped_border(self):
     from spectral.algorithms.spatial import get_window_bounds_clipped
     assert(get_window_bounds_clipped(90, 90, 3, 7, 0, 2) == (0, 2, 0, 6))
Beispiel #2
0
 def test_get_window_bounds_clipped(self):
     from spectral.algorithms.spatial import get_window_bounds_clipped
     assert(get_window_bounds_clipped(90, 90, 3, 7, 30, 40) \
            == (29, 32, 37, 44))
Beispiel #3
0
 def test_get_window_bounds_clipped_border(self):
     from spectral.algorithms.spatial import get_window_bounds_clipped
     assert (get_window_bounds_clipped(90, 90, 3, 7, 0, 2) == (0, 2, 0, 6))
Beispiel #4
0
 def test_get_window_bounds_clipped(self):
     from spectral.algorithms.spatial import get_window_bounds_clipped
     assert(get_window_bounds_clipped(90, 90, 3, 7, 30, 40) \
            == (29, 32, 37, 44))
Beispiel #5
0
 def test_get_window_bounds_clipped_border(self):
     assert(get_window_bounds_clipped(90, 90, 3, 7, 0, 2) == (0, 2, 0, 6))
Beispiel #6
0
 def test_get_window_bounds_clipped(self):
     assert(get_window_bounds_clipped(90, 90, 3, 7, 30, 40) \
            == (29, 32, 37, 44))