def test_ann(self): ## The ANN annotation CSV file. ann = ANN("testdata/ANN/000000_00_00_00.csv") # The tests. # The headers. self.assertEqual(ann.get_number_of_headers(), 2) self.assertEqual(ann.get_header(0), "annotation_id") self.assertEqual(ann.get_header(1), "annotation") # The annotations. # Test the number of annotations found. self.assertEqual(ann.get_number_of_annotations(), 88)