mirror of
https://git.mediani.de/mirrors_public/oddlama_nixos-extra-modules.git
synced 2025-10-11 06:10:39 +02:00
fix: tests
fix: arithmeticRight
This commit is contained in:
parent
19b469d1b3
commit
fb68031848
5 changed files with 101 additions and 3 deletions
|
@ -393,6 +393,7 @@ block ./shift.nix [
|
|||
(it "negative logical right shift 21068 >> 0" (logicalRight 0 (-21068) == -21068))
|
||||
(it "arithmetic right shift 21068 >> 0" (arithmeticRight 0 21068 == 21068))
|
||||
(it "negative arithmetic right shift 21068 >> 0" (arithmeticRight 0 (-21068) == -21068))
|
||||
|
||||
(it "arithmetic right shift -1 >> 32" (arithmeticRight 32 (-1) == (-1)))
|
||||
(it "arithmetic right shift -1 >> 102" (arithmeticRight 102 (-1) == (-1)))
|
||||
])
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue