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