Esempio n. 1
0
def test_rules_balanced_move():
    def debug(ex):
        pass

    run_rule_tests("balanced_move", BalancedMoveRule, debug)
Esempio n. 2
0
def test_rules_restate_subtraction():
    def debug(ex):
        pass

    run_rule_tests("restate_subtraction", RestateSubtractionRule, debug)
Esempio n. 3
0
def test_rules_variable_multiply():
    def debug(ex):
        pass

    run_rule_tests("variable_multiply", VariableMultiplyRule, debug)
Esempio n. 4
0
def test_rules_distributive_multiply_across():
    def debug(ex):
        pass

    run_rule_tests("distributive_multiply_across", DistributiveMultiplyRule,
                   debug)
Esempio n. 5
0
def test_rules_distributive_factor_out():
    def debug(ex):
        pass

    run_rule_tests("distributive_factor_out", DistributiveFactorOutRule, debug)
Esempio n. 6
0
def test_rules_constants_simplify():
    def debug(ex):
        pass

    run_rule_tests("constants_simplify", ConstantsSimplifyRule, debug)
Esempio n. 7
0
def test_rules_commutative_property():
    def debug(ex):
        pass

    run_rule_tests("commutative_swap", CommutativeSwapRule, debug)
Esempio n. 8
0
def test_rules_associative_property():
    def debug(ex):
        pass

    run_rule_tests("associative_swap", AssociativeSwapRule, debug)