()
| 165 | |
| 166 | #[test] |
| 167 | fn test_2_nib_shift_blake() { |
| 168 | for y in 0..16 { |
| 169 | for x in 0..16 { |
| 170 | let n = 3; |
| 171 | let mut stack = StackTracker::new(); |
| 172 | let tables = u4_push_shift_for_blake(&mut stack); |
| 173 | stack.number(y); |
| 174 | stack.number(x); |
| 175 | u4_2_nib_shift_blake(&mut stack, tables); |
| 176 | stack.number((((y << 4) + x) >> n) % 16); |
| 177 | stack.op_equalverify(); |
| 178 | stack.drop(tables); |
| 179 | stack.op_true(); |
| 180 | assert!(stack.run().success); |
| 181 | } |
| 182 | } |
| 183 | } |
| 184 | } |
nothing calls this directly
no test coverage detected