Function bf::test_helpers::assert_interpret [−][src]
pub fn assert_interpret<I: Interpretable + ?Sized>(
program: &I,
input: &[u8],
output: &[u8]
)
Interprets program
, giving it input input
, and asserting that its output is output
.