()
| 713 | |
| 714 | #[test] |
| 715 | fn test_lowest_bit() { |
| 716 | let reg = pcode::VarNode::new(1, 2); |
| 717 | |
| 718 | let mut block = pcode::Block::new(); |
| 719 | let tmp = block.alloc_tmp(2); |
| 720 | block.push((tmp, pcode::Op::Load(0), 0x1000)); |
| 721 | block.push((reg, pcode::Op::IntAnd, (tmp, 1_u16))); |
| 722 | check(block, 0, Some((0, 0))); |
| 723 | } |
| 724 | |
| 725 | #[test] |
| 726 | fn test_high_bits() { |