lingpy.tests.compare package

Submodules

lingpy.tests.compare.test__phylogeny module

class lingpy.tests.compare.test__phylogeny.Graph(*args, **kw)

Bases: mock.mock.MagicMock

nodes(**kw)
class lingpy.tests.compare.test__phylogeny.Nx(*args, **kw)

Bases: mock.mock.MagicMock

Graph(*args, **kw)
generate_gml(*args)
class lingpy.tests.compare.test__phylogeny.Plt(*args, **kw)

Bases: mock.mock.MagicMock

Polygon(*args, **kw)
fill(*args, **kw)
gca(*args, **kw)
plot(*args, **kw)
text(*args, **kw)
class lingpy.tests.compare.test__phylogeny.SPS(*args, **kw)

Bases: mock.mock.MagicMock

mstats = <MagicMock id='140037718989960'>
class lingpy.tests.compare.test__phylogeny.TestUtils(methodName='runTest')

Bases: lingpy.tests.util.WithTempDir

setUp()
test_utils()
lingpy.tests.compare.test__phylogeny.test_convex_hull()
lingpy.tests.compare.test__phylogeny.test_get_convex_hull()
lingpy.tests.compare.test__phylogeny.test_get_polygon_from_nodes()
lingpy.tests.compare.test__phylogeny.test_seg_intersect()
lingpy.tests.compare.test__phylogeny.test_settings()

lingpy.tests.compare.test_lexstat module

class lingpy.tests.compare.test_lexstat.TestLexStat(methodName='runTest')

Bases: lingpy.tests.util.WithTempDir

setUp()
test__get_matrices()
test_align_pairs()
test_cluster()
test_correctness()
test_get_distances()
test_get_frequencies()
test_get_scorer()
test_get_subset()
test_getitem()
test_init()
test_init2()
test_init3()
test_output()
lingpy.tests.compare.test_lexstat.test_char_from_charstring()
lingpy.tests.compare.test_lexstat.test_get_score_dict()

lingpy.tests.compare.test_partial module

class lingpy.tests.compare.test_partial.Tests(methodName='runTest')

Bases: lingpy.tests.util.WithTempDir

setUp()
test_add_cognate_ids()
test_get_partial_matrices()
test_partial_cluster()

lingpy.tests.compare.test_phylogeny module

Test the TreBor borrowing detection algorithm.

class lingpy.tests.compare.test_phylogeny.Bmp(*args, **kw)

Bases: mock.mock.MagicMock

Basemap(*args, **kw)
class lingpy.tests.compare.test_phylogeny.Graph(*args, **kw)

Bases: mock.mock.MagicMock

nodes(**kw)
class lingpy.tests.compare.test_phylogeny.Nx(*args, **kw)

Bases: mock.mock.MagicMock

Graph(*args, **kw)
generate_gml(*args)
class lingpy.tests.compare.test_phylogeny.Plt(*args, **kw)

Bases: mock.mock.MagicMock

plot(*args, **kw)
class lingpy.tests.compare.test_phylogeny.Sp(*args, **kw)

Bases: mock.mock.MagicMock

stats = <MagicMock id='140037718724736'>
class lingpy.tests.compare.test_phylogeny.TestPhyBo(methodName='runTest')

Bases: lingpy.tests.util.WithTempDir

setUp()
test_get_GLS()
test_plot()

lingpy.tests.compare.test_strings module

class lingpy.tests.compare.test_strings.TestStrings(methodName='runTest')

Bases: unittest.case.TestCase

setUp()
test_bidist1()
test_bidist2()
test_bidist3()
test_bisim1()
test_bisim2()
test_bisim3()
test_dice()
test_ident()
test_jcd()
test_jcdn()
test_lcs()
test_ldn()
test_ldn_swap()
test_prefix()
test_tridist1()
test_tridist2()
test_tridist3()
test_trigram()
test_trisim1()
test_trisim2()
test_trisim3()
test_xdice()
test_xxdice()

Module contents