Browse Source

Test char to int conversion.

pull/50/head
Rafal Kupiec 2 years ago
parent
commit
b320d35cf7
Signed by: belliash GPG Key ID: 4E829243E0CFE6B4
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      tests/printf_test.aer
  2. +1
    -0
      tests/printf_test.exp

+ 1
- 0
tests/printf_test.aer View File

@ -22,6 +22,7 @@ class Program {
private void testNumbers() {
printf("%%b = '%b'\n", $this->n);
printf("%%c = '%c'\n", $this->c);
printf("%%d = '%d'\n", $this->c);
printf("%%d = '%d'\n", $this->n);
printf("%%e = '%e'\n", $this->n);
printf("%%u = '%u'\n", $this->n);


+ 1
- 0
tests/printf_test.exp View File

@ -6,6 +6,7 @@
[many monke]
%b = '10100111101010011010101101'
%c = 'A'
%d = '65'
%d = '43951789'
%e = '4.395179e+07'
%u = '43951789'


Loading…
Cancel
Save