def test_general_case(self): sim_mat = load_simmat("data/fp_370_atg.txt") dist_mat = sim_to_dist(sim_mat) self.assertEqual(1- sim_mat[1,0], dist_mat[1,0])