From b347f9338e9f9b5f49f23c288f002574fec5d0ab Mon Sep 17 00:00:00 2001 From: Corwin Kuiper 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 8e9bda5..3db154f 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() { - test_positive::(); - test_positive::(); - test_positive::(); - test_positive::(); + test_positive::(); + test_positive::(); + test_negative::(); - test_negative::(); - test_negative::(); + if B < 16 { + test_positive::(); + test_positive::(); + test_negative::(); + } } // some nice powers of two test_base::<8>();