def test_parse_11(self): self.assertEqual( TAIL_LENGTH.parse( '{"created": "2007-05-27", "relatedresourceid": ' '"92bc5a20-577e-4504-aab6-bb409d06871a;' '0460ccc4-a461-43ec-86b6-1c252377b126"}' ), [], )
def test_parse_13(self): self.assertEqual( TAIL_LENGTH.parse( '"Dry muscle tissue accessioned into the Southwest Fisheries ' "Science Center (SWFSC) collection, T_ID 178858, LABID " "144207. Recovered by Henry Swanson. Scheffer, V. B. (1949). " '"Notes of three beaked whales from the Aleutian Islands." ' 'Pacific Science 3(4):353."' ), [], )
def test_parse_05(self): self.assertEqual( TAIL_LENGTH.parse('"tailLengthInMillimeters"="104",'), [ Trait( value=104, units="Millimeters", units_inferred=False, start=1, end=30, ) ], )
def test_parse_07(self): self.assertEqual( TAIL_LENGTH.parse("213-91-32-23"), [ Trait( value=91, units="mm_shorthand", units_inferred=False, is_shorthand=True, start=0, end=12, ) ], )
def test_parse_06(self): self.assertEqual( TAIL_LENGTH.parse("measurements:213-91-32-23"), [ Trait( value=91, units="mm_shorthand", units_inferred=False, is_shorthand=True, start=13, end=25, ) ], )
def test_parse_09(self): self.assertEqual( TAIL_LENGTH.parse("reproductive data=testes abdominal; T = 3 x 1.8 ;"), [] )
def test_parse_08(self): self.assertEqual( TAIL_LENGTH.parse("taillength=95;"), [Trait(value=95, units=None, units_inferred=True, start=0, end=13)], )
def test_parse_04(self): self.assertEqual( TAIL_LENGTH.parse(', "tail":"92", '), [Trait(value=92, units=None, units_inferred=True, start=3, end=12)], )
def test_parse_02(self): self.assertEqual( TAIL_LENGTH.parse("tail length=95 mm;"), [Trait(value=95, units="mm", units_inferred=False, start=0, end=17)], )
def test_parse_19(self): self.assertEqual(TAIL_LENGTH.parse("scrotal t.21mm"), [])
def test_parse_18(self): self.assertEqual(TAIL_LENGTH.parse("; trap identifier=CN02-T01/19 ;"), [])
def test_parse_17(self): self.assertEqual( TAIL_LENGTH.parse("Imm. weight 50 kg, L. snout to tip of tail 1510,"), [] )
def test_parse_16(self): self.assertEqual( TAIL_LENGTH.parse("Other Measurements: nose-tail=60in., girth=39in."), [] )
def test_parse_15(self): self.assertEqual( TAIL_LENGTH.parse("Body and tail: 1690 mm; Body: 114000 g"), [] )
def test_parse_01(self): self.assertEqual( TAIL_LENGTH.parse("tailLengthInmm: 102"), [Trait(value=102, units="mm", units_inferred=False, start=0, end=19)], )
def test_parse_12(self): self.assertEqual(TAIL_LENGTH.parse("ELEV G.T. 3900 FT"), [])