def test_osd(self): """osd should return correct # of observeds, singles, doubles""" self.assertEqual(osd(self.TestData), (9,3,3))
def test_chao1_uncorrected(self): """chao1_uncorrected should return same result as EstimateS""" obs = chao1_uncorrected(*osd(self.TestData)) self.assertEqual(obs, 10.5)