You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#![feature(custom_test_frameworks)]
|
|
|
|
#![test_runner(test_runner::run_gdb)]
|
|
|
|
|
|
|
|
#[test]
|
|
|
|
fn it_works() {
|
|
|
|
assert_eq!(2 + 2, 4);
|
|
|
|
}
|
|
|
|
|
|
|
|
#[test]
|
|
|
|
#[should_panic]
|
|
|
|
fn it_panics() {
|
|
|
|
assert_eq!(2 + 2, 5);
|
|
|
|
}
|