seismicrna.core.rel.tests package

Submodules

class seismicrna.core.rel.tests.code_test.TestConstants(methodName='runTest')

Bases: TestCase

Test constants of rel module.

test_derived_codes()

Test the derived relation codes.

test_np_type()
test_primary_codes()

Test the primary relation codes.

class seismicrna.core.rel.tests.pattern_test.TestHalfRelPattern(methodName='runTest')

Bases: TestCase

test_allc()
test_as_match()
test_as_plain()
test_bases_muts()
test_compile_decompile()
test_compile_example()
test_decompile_example()
test_equal()
test_fits_allc()
test_fits_muts()
test_fits_refs()
test_fits_subs()
test_from_counts()
test_from_report_format()
test_intersect()
test_muts()
test_none()
test_re_patterns()
test_refs()
test_to_report_format()
class seismicrna.core.rel.tests.pattern_test.TestRelPattern(methodName='runTest')

Bases: TestCase

test_allc()
test_equal()
test_fits()
test_from_counts()
test_intersect_none()
test_intersect_other()
test_invert()
test_muts()
test_yes_nos()
seismicrna.core.rel.tests.pattern_test.iter_codes(all_letters: bool = False)
seismicrna.core.rel.tests.pattern_test.powerset(items: list | set)

Set of all subsets of items, including empty and all items.