extern crate blc;
use blc::*;
use blc::encoding::binary::decompress;
use blc::execution::Input;
#[test]
fn repeat() {
let code_compressed = [0x16, 0x46, 0x80, 0x05, 0xbc, 0xbc, 0xfd, 0xf6, 0x80];
let code_blc = decompress(&code_compressed);
assert_eq!(
run(&*code_blc, Input::Bytes(&*b"hurr")).unwrap(),
"hurrhurr"
);
}