added test case in testing/python/approx.py based on test case provided by reporter in issue #12114
This commit is contained in:
parent
485e8ef564
commit
3989384cec
|
@ -778,6 +778,7 @@ class TestApprox:
|
||||||
|
|
||||||
vec1 = ImplicitArray([1.0, 2.0, 3.0])
|
vec1 = ImplicitArray([1.0, 2.0, 3.0])
|
||||||
vec2 = ImplicitArray([1.0, 2.0, 4.0])
|
vec2 = ImplicitArray([1.0, 2.0, 4.0])
|
||||||
|
# see issue #12114 for test case
|
||||||
assert vec1 != approx(vec2)
|
assert vec1 != approx(vec2)
|
||||||
|
|
||||||
def test_numpy_array_protocol(self):
|
def test_numpy_array_protocol(self):
|
||||||
|
|
Loading…
Reference in New Issue