mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-01 12:31:10 +08:00
Increase unit test coverage for EuclideanTransform
This commit is contained in:
1 parent
76711ab246
commit
d666667a2e
1 file changed
+3
@@ -288,11 +288,14 @@ def test_invalid_input():
|
||||
assert_raises(ValueError, ProjectiveTransform, np.zeros((2, 3)))
|
||||
assert_raises(ValueError, AffineTransform, np.zeros((2, 3)))
|
||||
assert_raises(ValueError, SimilarityTransform, np.zeros((2, 3)))
|
||||
assert_raises(ValueError, EuclideanTransform, np.zeros((2, 3)))
|
||||
|
||||
assert_raises(ValueError, AffineTransform,
|
||||
matrix=np.zeros((2, 3)), scale=1)
|
||||
assert_raises(ValueError, SimilarityTransform,
|
||||
matrix=np.zeros((2, 3)), scale=1)
|
||||
assert_raises(ValueError, EuclideanTransform,
|
||||
matrix=np.zeros((2, 3)), translation=(0, 0))
|
||||
|
||||
assert_raises(ValueError, PolynomialTransform, np.zeros((3, 3)))
|
||||
|
||||
|
||||
Reference in new issue
Block a user