def test_catheter_add_single_point(): cath = CatheterObj(row, col) cath.add_raw_measurement(dummyPoint) assert cath.has_data() is True assert cath.get_N_raw_pts() == 1
def test_catheter_adding_multi_points(): cath = CatheterObj(row, col) assert cath.add_raw_measurement(dummyPoints) is True assert cath.has_data() is True assert cath.get_N_raw_pts() == 5 assert cath.get_raw_data().shape == dummyShape
def test_catheter_create_empty(): cath = CatheterObj(row, col) assert cath.has_data() is False