Files
BA-pid-controller/testsuite/tests/test.rs
T
Jorge Aparicio 2a34a5279d testsuite: import defmt assert macros
these imports will override the ones from the core prelude
2020-12-11 12:29:03 +01:00

22 lines
421 B
Rust

#![no_std]
#![no_main]
use {{crate_name}} as _; // memory layout + panic handler
// See https://crates.io/crates/defmt-test/0.1.0 for more documentation (e.g. about the 'state'
// feature)
#[defmt_test::tests]
mod tests {
use defmt::{assert, assert_eq};
#[test]
fn assert_true() {
assert!(true)
}
#[test]
fn assert_eq() {
assert_eq!(24, 42, "TODO: write actual tests")
}
}