22 lines
418 B
Rust
22 lines
418 B
Rust
#![no_std]
|
|
#![no_main]
|
|
|
|
use wspr_beacon 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")
|
|
}
|
|
}
|