2018-12-25 16:29:03 -06:00
|
|
|
fn main() {
|
|
|
|
assert!(true);
|
|
|
|
assert!(false);
|
2019-01-09 12:30:47 -06:00
|
|
|
assert!(true, "true message");
|
|
|
|
assert!(false, "false message");
|
|
|
|
|
|
|
|
const B: bool = true;
|
|
|
|
assert!(B);
|
|
|
|
|
|
|
|
const C: bool = false;
|
|
|
|
assert!(C);
|
2018-12-25 16:29:03 -06:00
|
|
|
}
|