wbia.algo.graph.tests package¶
Submodules¶
wbia.algo.graph.tests.dyn_cases module¶
-
wbia.algo.graph.tests.dyn_cases.case_all_types()[source]¶ - CommandLine:
- python -m wbia.algo.graph.tests.dyn_cases case_all_types –show
Example
>>> # ENABLE_DOCTEST >>> from wbia.algo.graph.tests.dyn_cases import * # NOQA >>> case_all_types()
-
wbia.algo.graph.tests.dyn_cases.case_flag_merge()[source]¶ - CommandLine:
- python -m wbia.algo.graph.tests.dyn_cases case_flag_merge –show
Example
>>> # ENABLE_DOCTEST >>> from wbia.algo.graph.tests.dyn_cases import * # NOQA >>> case_flag_merge()
-
wbia.algo.graph.tests.dyn_cases.case_incon_removes_inference()[source]¶ - CommandLine:
- python -m wbia.algo.graph.tests.dyn_cases case_incon_removes_inference –show
Example
>>> # ENABLE_DOCTEST >>> from wbia.algo.graph.tests.dyn_cases import * # NOQA >>> case_incon_removes_inference()
-
wbia.algo.graph.tests.dyn_cases.case_inconsistent()[source]¶ - CommandLine:
- python -m wbia.algo.graph.tests.dyn_cases case_inconsistent –show
Example
>>> # ENABLE_DOCTEST >>> from wbia.algo.graph.tests.dyn_cases import * # NOQA >>> case_inconsistent()
-
wbia.algo.graph.tests.dyn_cases.case_inferable_notcomp1()[source]¶ make sure notcomparable edges can be inferred
- CommandLine:
- python -m wbia.algo.graph.tests.dyn_cases case_inferable_notcomp1 –show
Example
>>> # ENABLE_DOCTEST >>> from wbia.algo.graph.tests.dyn_cases import * # NOQA >>> case_inferable_notcomp1()
-
wbia.algo.graph.tests.dyn_cases.case_inferable_update_notcomp()[source]¶ make sure inference updates for nocomparable edges
- CommandLine:
- python -m wbia.algo.graph.tests.dyn_cases case_inferable_update_notcomp –show
Example
>>> # ENABLE_DOCTEST >>> from wbia.algo.graph.tests.dyn_cases import * # NOQA >>> case_inferable_update_notcomp()
-
wbia.algo.graph.tests.dyn_cases.case_keep_in_cc_infr_post_negative()[source]¶ - CommandLine:
- python -m wbia.algo.graph.tests.dyn_cases case_keep_in_cc_infr_post_negative –show
Example
>>> # ENABLE_DOCTEST >>> from wbia.algo.graph.tests.dyn_cases import * # NOQA >>> case_keep_in_cc_infr_post_negative()
-
wbia.algo.graph.tests.dyn_cases.case_keep_in_cc_infr_post_notcomp()[source]¶ - CommandLine:
- python -m wbia.algo.graph.tests.dyn_cases case_keep_in_cc_infr_post_notcomp –show
Example
>>> # ENABLE_DOCTEST >>> from wbia.algo.graph.tests.dyn_cases import * # NOQA >>> case_keep_in_cc_infr_post_notcomp()
-
wbia.algo.graph.tests.dyn_cases.case_match_infr()[source]¶ - CommandLine:
- python -m wbia.algo.graph.tests.dyn_cases case_match_infr –show
Example
>>> # ENABLE_DOCTEST >>> from wbia.algo.graph.tests.dyn_cases import * # NOQA
>>> case_match_infr()
-
wbia.algo.graph.tests.dyn_cases.case_negative_infr()[source]¶ - CommandLine:
- python -m wbia.algo.graph.tests.dyn_cases case_negative_infr –show
Example
>>> # ENABLE_DOCTEST >>> from wbia.algo.graph.tests.dyn_cases import * # NOQA >>> case_negative_infr()
-
wbia.algo.graph.tests.dyn_cases.case_notcomp_remove_cuts()[source]¶ - CommandLine:
- python -m wbia.algo.graph.tests.dyn_cases case_notcomp_remove_cuts –show
Example
>>> # ENABLE_DOCTEST >>> from wbia.algo.graph.tests.dyn_cases import * # NOQA >>> case_notcomp_remove_cuts()
-
wbia.algo.graph.tests.dyn_cases.case_notcomp_remove_infr()[source]¶ - CommandLine:
- python -m wbia.algo.graph.tests.dyn_cases case_notcomp_remove_infr –show
Example
>>> # ENABLE_DOCTEST >>> from wbia.algo.graph.tests.dyn_cases import * # NOQA >>> case_notcomp_remove_infr()
-
wbia.algo.graph.tests.dyn_cases.case_out_of_subgraph_modification()[source]¶ - CommandLine:
- python -m wbia.algo.graph.tests.dyn_cases case_out_of_subgraph_modification –show
Example
>>> # ENABLE_DOCTEST >>> from wbia.algo.graph.tests.dyn_cases import * # NOQA >>> case_out_of_subgraph_modification()
-
wbia.algo.graph.tests.dyn_cases.case_override_inference()[source]¶ - CommandLine:
- python -m wbia.algo.graph.tests.dyn_cases case_override_inference –show
Example
>>> # ENABLE_DOCTEST >>> from wbia.algo.graph.tests.dyn_cases import * # NOQA >>> case_override_inference()
-
wbia.algo.graph.tests.dyn_cases.case_redo_incon()[source]¶ - CommandLine:
- python -m wbia.algo.graph.tests.dyn_cases case_redo_incon –show
Example
>>> # ENABLE_DOCTEST >>> from wbia.algo.graph.tests.dyn_cases import * # NOQA >>> case_redo_incon()
-
wbia.algo.graph.tests.dyn_cases.case_undo_match()[source]¶ - CommandLine:
- python -m wbia.algo.graph.tests.dyn_cases case_undo_match –show
Example
>>> # ENABLE_DOCTEST >>> from wbia.algo.graph.tests.dyn_cases import * # NOQA >>> case_undo_match()
wbia.algo.graph.tests.mst_debug module¶
wbia.algo.graph.tests.test_graph_iden module¶
wbia.algo.graph.tests.test_neg_metagraph module¶
TODO: These tests are good and important to run. Ensure they are run via run_tests even though they are not doctests.
Consider moving to pytest and using xdoctest (because regular doctest does not accept the syntax of IBEIS doctests)
-
wbia.algo.graph.tests.test_neg_metagraph.test_neg_metagraph_simple_add_remove()[source]¶ Test that the negative metagraph tracks the number of negative edges between PCCs through non-label-changing operations