Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_steps_index():
index = _pick_info.Index(0, .5, .5)
assert np.floor(index) == 0 and np.ceil(index) == 1
assert str(index) == "0.(x=0.5, y=0.5)"