def test_down_sample_probe_index_invalid_set(self): A = read_csv_metadata(path_a) B = read_csv_metadata(path_b, key='ID') in_index = _inv_index(A) s_tbl_indices = _probe_index(B, 5, len(A), in_index) self.assertTrue(type(s_tbl_indices) is set)
def test_down_sample_inv_index_value_check(self): A = read_csv_metadata(path_a) inv_index = _inv_index(A) self.assertNotEqual(len(inv_index.get('beach')), 0)
def test_down_sample_inv_index_valid_1(self): A = read_csv_metadata(path_a) inv_index = _inv_index(A) self.assertNotEqual(len(inv_index), 0)
def test_down_sample_inv_index_key_check(self): A = read_csv_metadata(path_a) inv_index = _inv_index(A) self.assertTrue('meadows' in inv_index)
def test_down_sample_probe_index_validchk1(self): A = read_csv_metadata(path_a) B = read_csv_metadata(path_b, key='ID') in_index = _inv_index(A) s_tbl_indices = _probe_index(B, 5, len(A), in_index) self.assertNotEqual(len(s_tbl_indices), 0)