The int's to_string method implementation has been reduced to base 10.pull/2691/head
parent
30f2c4857c
commit
3d0a9b7911
2 changed files with 1 additions and 21 deletions
@ -1,15 +0,0 @@ |
|||||||
project('int formatting', 'c') |
|
||||||
|
|
||||||
values = [ |
|
||||||
['', '74'], |
|
||||||
['c', 'J'], |
|
||||||
['b', '1001010'], |
|
||||||
['d', '74'], |
|
||||||
['o', '112'], |
|
||||||
['x', '4a'], |
|
||||||
['X', '4A'] |
|
||||||
] |
|
||||||
|
|
||||||
foreach value: values |
|
||||||
assert(74.to_string(value[0]) == value[1], 'conversion is broken') |
|
||||||
endforeach |
|
Loading…
Reference in new issue