2017-12-19 14:44:18 +02:00
|
|
|
#[test]
|
|
|
|
fn a() {
|
2019-07-12 01:56:43 +02:00
|
|
|
println!("print from successful test");
|
2017-12-19 14:44:18 +02:00
|
|
|
// Should pass
|
|
|
|
}
|
|
|
|
|
|
|
|
#[test]
|
|
|
|
fn b() {
|
2019-07-12 01:56:43 +02:00
|
|
|
assert!(false);
|
2017-12-19 14:44:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#[test]
|
|
|
|
#[should_panic]
|
|
|
|
fn c() {
|
|
|
|
assert!(false);
|
|
|
|
}
|
|
|
|
|
|
|
|
#[test]
|
2022-03-11 07:30:21 -05:00
|
|
|
#[ignore = "msg"]
|
2017-12-19 14:44:18 +02:00
|
|
|
fn d() {
|
|
|
|
assert!(false);
|
2017-12-19 23:12:24 +02:00
|
|
|
}
|