def test_remove_low_units(self): an = AdaptiveNetwork(self.sample) an.remove_low_units(0.9) self.assertTrue(len(an.units) == 1)