projects
/
power-instruction-analyzer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
620e5f7
)
add more test cases
author
Jacob Lifshay
<programmerjake@gmail.com>
Thu, 28 May 2020 06:36:08 +0000
(23:36 -0700)
committer
Jacob Lifshay
<programmerjake@gmail.com>
Thu, 28 May 2020 06:36:08 +0000
(23:36 -0700)
src/main.rs
patch
|
blob
|
history
diff --git
a/src/main.rs
b/src/main.rs
index aa9bda748b4ec0fc87d8790932d72b9f5c64e338..60c2a121c6329d87b32fe9447d102608749cf98d 100644
(file)
--- a/
src/main.rs
+++ b/
src/main.rs
@@
-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,