From b347f9338e9f9b5f49f23c288f002574fec5d0ab Mon Sep 17 00:00:00 2001
From: Corwin Kuiper <corwin@kuiper.dev>
Date: Sat, 4 Dec 2021 13:52:47 +0000
Subject: [PATCH] actually test base B in test base

---
 agb/src/number.rs | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/agb/src/number.rs b/agb/src/number.rs
index 8e9bda5b..3db154f9 100644
--- a/agb/src/number.rs
+++ b/agb/src/number.rs
@@ -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>();