()
| 107 | |
| 108 | #[test] |
| 109 | fn test_lshift() { |
| 110 | for n in 1..4 { |
| 111 | for x in 0..16 { |
| 112 | let mut stack = StackTracker::new(); |
| 113 | let tables = u4_push_shift_tables_stack(&mut stack); |
| 114 | stack.number(x); |
| 115 | u4_lshift_stack(&mut stack, tables, n); |
| 116 | stack.number((x << n) % 16); |
| 117 | stack.op_equalverify(); |
| 118 | stack.drop(tables); |
| 119 | stack.op_true(); |
| 120 | assert!(stack.run().success); |
| 121 | } |
| 122 | } |
| 123 | } |
| 124 | |
| 125 | #[test] |
| 126 | fn test_rshift() { |
nothing calls this directly
no test coverage detected