Skip to content

Commit 0d07661

Browse files
committed
test: add test of bool eq api
1 parent 95f0ae9 commit 0d07661

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tests/jax/test_api.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1146,3 +1146,9 @@ def test_api_gsparams():
11461146
assert getattr(jgsp, k) == v
11471147
assert getattr(gsp, k) == v
11481148
assert getattr(jjgsp, k) == v
1149+
1150+
assert jgsp == jjgsp
1151+
assert isinstance(jgsp == jjgsp, bool)
1152+
1153+
kwargs["minimum_fft_size"] = 126
1154+
assert jgsp != jax_galsim.GSParams(**kwargs)

0 commit comments

Comments
 (0)