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