mark gba in test as unused

This commit is contained in:
Corwin Kuiper 2021-04-11 16:43:32 +01:00 committed by Corwin
parent 52ce4fecf3
commit 848fad3faf

View file

@ -105,7 +105,7 @@ impl<const N: usize> Num<N> {
} }
#[test_case] #[test_case]
fn test_numbers(gba: &mut super::Gba) { fn test_numbers(_gba: &mut super::Gba) {
// test addition // test addition
let n: Num<8> = 1.into(); let n: Num<8> = 1.into();
assert_eq!(n + 2.into(), 3.into(), "testing that 1 + 2 == 3"); assert_eq!(n + 2.into(), 3.into(), "testing that 1 + 2 == 3");