def test_fuzzy2(self, nx): from lingpy.algorithm.clustering import fuzzy for method in 'upgma simple complete'.split(): for revert in [True, False]: fuzzy(0.5, [[1, 0], [0, 1]], ['a', 'b'], method=method, revert=revert)
def test_fuzzy(self): from lingpy.algorithm.clustering import fuzzy for method in 'upgma simple complete'.split(): for revert in [True, False]: fuzzy(0.5, self.matrix, self.taxa, method=method, revert=revert)
def test_fuzzy1(self): from lingpy.algorithm.clustering import fuzzy assert fuzzy(0.5, [[1, 0], [0, 1]], ['a', 'b']) is None