Implemented numbers with different bases
This commit is contained in:
parent
0e999cae92
commit
6d77a8a120
11 changed files with 165 additions and 12 deletions
8
tests/programs/octal.q
Normal file
8
tests/programs/octal.q
Normal file
|
@ -0,0 +1,8 @@
|
|||
main() {
|
||||
assert 0o0 == 0
|
||||
assert 0o1 == 1
|
||||
assert 0o7 == 7
|
||||
assert 0o10 == 8
|
||||
assert 0o100 == 64
|
||||
assert 0o755 == 493
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue