def test_distance_diff_chroms(): x = Locus('1',1,100) y = Locus('2',150,250) assert x.distance(y) == np.inf
def test_distance(): x = Locus('1',1,100) y = Locus('1',150,250) assert x.distance(y) == 49