Workshop o mikrokontrolérech na SKSP 2024.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
1.3 KiB

3 months ago
Run: ../obj/ucw/xtypes-test
Out <<EOF
4 4
4KB 4KB
4MB 4MB
4GB 4GB
4TB 4TB
xt_size.parse error: 'Invalid units: '1X'.'.
xt_size.parse error: 'Invalid value of size: 'KB'; number parser error: Number contains no digits.'.
xt_size.parse error: 'Invalid value of size: 'X1KB'; number parser error: Number contains no digits.'.
xt_size.parse error: 'Invalid units: '1XKB'.'.
xt_size.parse error: 'Invalid units: '1KBX'.'.
xt_size.parse error: 'Invalid value of size: ''; number parser error: Number contains no digits.'.
0 false
1 true
false false
true true
1403685533 1403685533
1403678333 1403678333
xt_timestamp.parse error: 'Invalid value of timestamp: '1403685533X'.'.
xt_timestamp.parse error: 'Invalid value of timestamp: '2014X-06-25 08:38:53'.'.
xt_timestamp.parse error: 'Invalid value of timestamp: '2X014-06-25 08:38:53'.'.
xt_timestamp.parse error: 'Invalid value of timestamp: '2014-06-25 08:38:53X'.'.
xt_timestamp.parse error: 'Invalid value of timestamp: 'X2014-06-25 08:38:53'; number parser error: Number contains no digits.'.
xt_timestamp.parse error: 'Invalid value of timestamp: 'X1403685533'; number parser error: Number contains no digits.'.
xt_timestamp.parse error: 'Invalid value of timestamp: '14X03685533'.'.
xt_timestamp.parse error: 'Invalid value of timestamp: '1403685533X'.'.
EOF