added test case in testing/python/approx.py based on test case provided by reporter in issue #12114

This commit is contained in:
poulami-sau 2024-04-21 20:47:17 -04:00
parent 485e8ef564
commit 3989384cec
1 changed files with 1 additions and 0 deletions

View File

@ -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):