def test_parse_24(self): self.assertEqual( NIPPLE_STATE.parse( "reproductive data=No placental scars or embryos. " "3 nipples prominen"), [Trait(value="nipples prominen", start=52, end=68)], )
def test_parse_29(self): self.assertEqual( NIPPLE_STATE.parse( "reproductive data=Ad. mammery glands developed " "but no nipples"), [Trait(value="mammery glands developed", start=22, end=46)], )
def test_parse_05(self): self.assertEqual( NIPPLE_STATE.parse("; NIPPLES INDICATE PREVIOUS LACTATION"), [ Trait(value="nipples indicate previous lactation", start=2, end=37) ], )
def test_parse_22(self): self.assertEqual( NIPPLE_STATE.parse("uterus enlarged, large nipples"), [Trait(value="large nipples", start=17, end=30)], )
def test_parse_14(self): self.assertEqual( NIPPLE_STATE.parse("; mammary tissue present;"), [Trait(value="mammary tissue present", start=2, end=24)], )
def test_parse_13(self): self.assertEqual( NIPPLE_STATE.parse("lactating, mammary glands much swollen"), [Trait(value="mammary glands much swollen", start=11, end=38)], )
def test_parse_11(self): self.assertEqual( NIPPLE_STATE.parse(", LG UTERUS & TEATS,"), [Trait(value="lg uterus & teats", start=2, end=19)], )
def test_parse_09(self): self.assertEqual( NIPPLE_STATE.parse("; teats visible,"), [Trait(value="teats visible", start=2, end=15)], )
def test_parse_07(self): self.assertEqual( NIPPLE_STATE.parse("Nipples pigmented."), [Trait(value="nipples pigmented", start=0, end=17)], )
def test_parse_28(self): self.assertEqual( NIPPLE_STATE.parse("sep, nipp med, sm reddsih scar"), [Trait(value="nipp med", start=5, end=13)], )
def test_parse_27(self): self.assertEqual( NIPPLE_STATE.parse(", pelvis slgt sep, nipp med+, no scars,"), [Trait(value="nipp med+", start=19, end=28)], )
def test_parse_26(self): self.assertEqual( NIPPLE_STATE.parse("reproductive data=nipple dev, 3R+0L=3 plsc ;"), [Trait(value="nipple dev", start=18, end=28)], )
def test_parse_25(self): self.assertEqual( NIPPLE_STATE.parse("reproductive data=nipple dev: none, no plsc,"), [Trait(value="nipple dev: none", start=18, end=34)], )
def test_parse_02(self): self.assertEqual( NIPPLE_STATE.parse("pregnant; 5 emb; protuberant nipples"), [Trait(value="protuberant nipples", start=17, end=36)], )
def test_parse_23(self): self.assertEqual( NIPPLE_STATE.parse("nipples medium"), [Trait(value="nipples medium", start=0, end=14)], )
def test_parse_36(self): self.assertEqual( NIPPLE_STATE.parse("reproductive data=enlargedNipples ;"), [Trait(value="enlargednipples", start=18, end=33)], )
def test_parse_04(self): self.assertEqual( NIPPLE_STATE.parse("no emb; VERY SMALL FALSE NIPPLES"), [Trait(value="very small false nipples", start=8, end=32)], )
def test_parse_30(self): self.assertEqual( NIPPLE_STATE.parse( "reproductive data=vulva open; no nipples apparent ;"), [], )
def test_parse_06(self): self.assertEqual( NIPPLE_STATE.parse("Nipples slightly enlarged."), [Trait(value="nipples slightly enlarged", start=0, end=25)], )
def test_parse_32(self): self.assertEqual( NIPPLE_STATE.parse( "reproductive data=nipple dev:large, 1R+2L=3embryo,"), [Trait(value="nipple dev:large", start=18, end=34)], )
def test_parse_08(self): self.assertEqual( NIPPLE_STATE.parse("no scars or emb., nip. sm., low fat"), [Trait(value="nip. sm", start=18, end=25)], )
def test_parse_03(self): self.assertEqual( NIPPLE_STATE.parse("NO nipple showing"), [Trait(value="no nipple showing", start=0, end=17)], )
def test_parse_10(self): self.assertEqual( NIPPLE_STATE.parse("10 post-lactating teats"), [Trait(value="post-lactating teats", start=3, end=23)], )
def test_parse_33(self): self.assertEqual( NIPPLE_STATE.parse("reproductive data=nipples very bare ;"), [Trait(value="nipples very bare", start=18, end=35)], )
def test_parse_12(self): self.assertEqual( NIPPLE_STATE.parse("4 teats post lac."), [Trait(value="teats post lac", start=2, end=16)], )
def test_parse_34(self): self.assertEqual( NIPPLE_STATE.parse( "reproductive data=2R+4L=6plsc developed mamm tissue;"), [Trait(value="developed mamm tissue", start=30, end=51)], )
def test_parse_01(self): self.assertEqual( NIPPLE_STATE.parse("v****a closed, nipples large"), [Trait(value="nipples large", start=15, end=28)], )
def test_parse_35(self): self.assertEqual( NIPPLE_STATE.parse( "reproductive data=Lactating; clear & enlarged teats ;"), [Trait(value="enlarged teats", start=37, end=51)], )
def test_parse_15(self): self.assertEqual( NIPPLE_STATE.parse("VO, NE, mamm. lg."), [Trait(value="mamm. lg", start=8, end=16)], )
def test_parse_21(self): self.assertEqual( NIPPLE_STATE.parse("nipples small, moderate fat"), [Trait(value="nipples small", start=0, end=13)], )