Function bf::test_helpers::assert_interpret_result[][src]

pub fn assert_interpret_result<I: ?Sized>(
    program: &I,
    input: &[u8],
    output: BfResult<&[u8]>
) where
    I: Interpretable

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