def test_uncertain_loop(uncertain_time_delay=0): """ test one time step with uncertainty on the spill checks there is non-zero motion. """ pSpill = sample_sc_release(num_le, start_pos, rel_time, uncertain=True) curr = CurrentCycleMover(curr_file, topology_file, tide=td) curr.uncertain_time_delay = uncertain_time_delay u_delta = _uncertain_loop(pSpill, curr) _assert_move(u_delta) return u_delta
def test_uncertain_loop(uncertain_time_delay=0): """ test one time step with uncertainty on the spill checks there is non-zero motion. """ pSpill = sample_sc_release(num_le, start_pos, rel_time, uncertain=True) curr = CurrentCycleMover(curr_file, topology_file, tide=td) curr.uncertain_time_delay=uncertain_time_delay u_delta = _uncertain_loop(pSpill, curr) _assert_move(u_delta) return u_delta