Added if __name__ == __main__ in new test files

This commit is contained in:
Ankit Agrawal
2013-07-17 15:54:58 +05:30
parent 2466df39e1
commit 431261e095
2 changed files with 10 additions and 0 deletions
+5
View File
@@ -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()
+5
View File
@@ -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()