mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-08 14:08:06 +08:00
Reverting back to last but one commit
This commit is contained in:
@@ -28,8 +28,7 @@ def test_censure_keypoints_moon_image_DoB():
|
||||
[464, 132],
|
||||
[467, 260]])
|
||||
expected_scale = np.array([2, 4, 6, 3, 4, 4, 2, 2, 3, 2, 2, 2])
|
||||
print actual_kp_DoB
|
||||
print actual_scale
|
||||
|
||||
assert_array_equal(expected_kp_DoB, actual_kp_DoB)
|
||||
assert_array_equal(expected_scale, actual_scale)
|
||||
|
||||
@@ -45,8 +44,7 @@ def test_censure_keypoints_moon_image_Octagon():
|
||||
[356, 239],
|
||||
[463, 116]])
|
||||
expected_scale = np.array([3, 4, 2, 2, 2])
|
||||
print actual_kp_Octagon
|
||||
print actual_scale
|
||||
|
||||
assert_array_equal(expected_kp_Octagon, actual_kp_Octagon)
|
||||
assert_array_equal(expected_scale, actual_scale)
|
||||
|
||||
@@ -67,8 +65,7 @@ def test_censure_keypoints_moon_image_STAR():
|
||||
[463, 116],
|
||||
[467, 260]])
|
||||
expected_scale = np.array([3, 3, 6, 2, 3, 2, 3, 5, 2, 2])
|
||||
print actual_kp_STAR
|
||||
print actual_scale
|
||||
|
||||
assert_array_equal(expected_kp_STAR, actual_kp_STAR)
|
||||
assert_array_equal(expected_scale, actual_scale)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user