mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-01 12:50:48 +08:00
Added if __name__ == __main__ in new test files
This commit is contained in:
@@ -76,3 +76,8 @@ def test_match_keypoints_brief_lena_rotation():
|
||||
[435, 221]]])
|
||||
|
||||
assert_array_equal(matched_keypoints, expected)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
from numpy import testing
|
||||
testing.run_module_suite()
|
||||
|
||||
@@ -25,3 +25,8 @@ def test_pairwise_hamming_distance_value():
|
||||
[0.4 , 0.55, 0.5 ],
|
||||
[0.47, 0.48, 0.57]])
|
||||
assert_array_equal(result, expected)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
from numpy import testing
|
||||
testing.run_module_suite()
|
||||
|
||||
Reference in New Issue
Block a user