actually test base B in test base

This commit is contained in:
Corwin Kuiper 2021-12-04 13:52:47 +00:00
parent 453e098703
commit b347f9338e

View file

@ -327,13 +327,15 @@ fn test_macro_conversion(_gba: &mut super::Gba) {
}
fn test_base<const B: usize>() {
test_positive::<i32, 8>();
test_positive::<i16, 8>();
test_positive::<u32, 8>();
test_positive::<u16, 8>();
test_positive::<i32, B>();
test_positive::<u32, B>();
test_negative::<i32, B>();
test_negative::<i32, 8>();
test_negative::<i16, 8>();
if B < 16 {
test_positive::<u16, B>();
test_positive::<i16, B>();
test_negative::<i16, B>();
}
}
// some nice powers of two
test_base::<8>();