Module bf::test_helpers[][src]

Helper definitions for testing both inside and outside (e.g., benches) the crate.

Constants

FACTOR_SRC

Source of the factoring program from ../bf/factor.bf.

HELLO_WORLD_SRC

Source of a “hello world” program.

Functions

assert_interpret

Interprets program, giving it input input, and asserting that its output is output.

assert_interpret_result

Interprets program, giving it input input, and asserting that its result is output.