add more test cases
authorJacob Lifshay <programmerjake@gmail.com>
Thu, 28 May 2020 06:36:08 +0000 (23:36 -0700)
committerJacob Lifshay <programmerjake@gmail.com>
Thu, 28 May 2020 06:36:08 +0000 (23:36 -0700)
src/main.rs

index aa9bda748b4ec0fc87d8790932d72b9f5c64e338..60c2a121c6329d87b32fe9447d102608749cf98d 100644 (file)
@@ -209,7 +209,10 @@ make_div_functions! {
 
 const TEST_VALUES: &[u64] = &[
     0x0,
+    0x1,
+    0x2,
     0xFFFF_FFFF_FFFF_FFFF,
+    0xFFFF_FFFF_FFFF_FFFE,
     0x7FFF_FFFF_FFFF_FFFF,
     0x8000_0000_0000_0000,
     0x1234_5678_0000_0000,