Esempio n. 1
0
    def test__make_matrix(self):

        colt = colx._get_colexifications_by_taxa(self.cols)
        taxa = ['l1', 'l2', 'l3', 'l4', 'l5', 'l6']

        matrix = colx._make_matrix(taxa, colt)
        assert matrix[0][0] == 0
Esempio n. 2
0
 def test__make_matrix(self):
     
     colt = colx._get_colexifications_by_taxa(self.cols)
     taxa = ['l1', 'l2', 'l3', 'l4', 'l5', 'l6']
     
     matrix = colx._make_matrix(taxa, colt)
     assert matrix[0][0] == 0
Esempio n. 3
0
    def test__get_colexifications_by_taxa(self):

        colt = colx._get_colexifications_by_taxa(self.cols)
        assert ('arm', 'hand') in colt['l1']
Esempio n. 4
0
 def test__get_colexifications_by_taxa(self):
     colt = colx._get_colexifications_by_taxa(self.cols)
     assert ('arm', 'hand') in colt['l1']