()
| 557 | #[test] |
| 558 | fn passing_assert_falls_through() { |
| 559 | assert_exit( |
| 560 | r#" |
| 561 | main: () -> i32 { |
| 562 | x: i32 = 4 |
| 563 | assert(x == 4) |
| 564 | return 7 |
| 565 | } |
| 566 | "#, |
| 567 | 7, |
| 568 | ); |
| 569 | } |
| 570 | |
| 571 | #[test] |
| 572 | fn radix_literals_and_bitwise_not_evaluate() { |
| 573 | // 0b1111_0000 & ~0b0011_0000 == 0b1100_0000 == 192. |
| 574 | assert_exit( |
nothing calls this directly
no test coverage detected