Implemented numbers with different bases
This commit is contained in:
parent
f1d4e65c1b
commit
d5953649d9
11 changed files with 165 additions and 12 deletions
8
tests/programs/hexadecimal.q
Normal file
8
tests/programs/hexadecimal.q
Normal file
|
@ -0,0 +1,8 @@
|
|||
main() {
|
||||
assert 0x0 == 0
|
||||
assert 0x1 == 1
|
||||
assert 0xA == 10
|
||||
assert 0x10 == 16
|
||||
assert 0xFF == 255
|
||||
assert 0x1000 == 4096
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue