()
| 1516 | let s = tc.save_depth(); |
| 1517 | tc.push_let(sort0(), sort0()); |
| 1518 | tc.push_local(sort0()); |
| 1519 | tc.push_let(sort1(), sort1()); |
| 1520 | assert_eq!(tc.num_let_bindings, 2); |
| 1521 | tc.restore_depth(s); |
| 1522 | assert_eq!(tc.depth(), 0); |
| 1523 | assert_eq!(tc.num_let_bindings, 0); |
| 1524 | } |
| 1525 | |
| 1526 | // ---- tick / fuel ---- |
| 1527 | |
| 1528 | #[test] |
| 1529 | fn tick_consumes_fuel() { |
| 1530 | let mut tc = new_tc(); |
nothing calls this directly
no test coverage detected