def test_only_one_odd_coin_created():
    singleton_mod_hash = SINGLETON_MOD.get_tree_hash()
    solution = Program.to([(singleton_mod_hash, (LAUNCHER_ID, LAUNCHER_PUZZLE_HASH)), Program.to(binutils.assemble('(q (51 0xcafef00d 203) (51 0xfadeddab 205))')), [3735928559, 3405705229, 411], 411, []])
    try:
        (cost, result) = SINGLETON_MOD.run_with_cost(INFINITE_COST, solution)
    except Exception as e:
        assert (e.args == ('clvm raise', '80'))
    else:
        assert False
    solution = Program.to([(singleton_mod_hash, (LAUNCHER_ID, LAUNCHER_PUZZLE_HASH)), Program.to(binutils.assemble('(q (51 0xcafef00d 203) (51 0xfadeddab 204) (51 0xdeadbeef 202))')), [3735928559, 3405705229, 411], 411, []])
    try:
        (cost, result) = SINGLETON_MOD.run_with_cost(INFINITE_COST, solution)
    except Exception:
        assert False
def test_only_one_odd_coin_created():
    singleton_mod_hash = SINGLETON_MOD.get_tree_hash()
    solution = Program.to([(singleton_mod_hash, (LAUNCHER_ID, LAUNCHER_PUZZLE_HASH)), Program.to(binutils.assemble('(q (51 0xcafef00d 203) (51 0xfadeddab 205))')), [3735928559, 3405705229, 411], 411, []])
    try:
        (cost, result) = SINGLETON_MOD.run_with_cost(INFINITE_COST, solution)
    except Exception as e:
        assert (e.args == ('clvm raise', '80'))
    else:
        assert False
    solution = Program.to([(singleton_mod_hash, (LAUNCHER_ID, LAUNCHER_PUZZLE_HASH)), Program.to(binutils.assemble('(q (51 0xcafef00d 203) (51 0xfadeddab 204) (51 0xdeadbeef 202))')), [3735928559, 3405705229, 411], 411, []])
    try:
        (cost, result) = SINGLETON_MOD.run_with_cost(INFINITE_COST, solution)
    except Exception:
        assert False