Skip to content
Snippets Groups Projects
Verified Commit 34730885 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Add expected wprintf output

parent 29c898df
No related branches found
No related tags found
1 merge request!352wprintf
Pipeline #12149 failed
percent: %
wstring: String
char: c
int: -16
uint: 32
hex: beef
HEX: C0FFEE
string: end
%n returned 44, total len of write: 87
Padding madness:
001 +2
c
0x00000ff
001
0 0x1
1
(00123) ( 123)
(-0123) ( -123)
( )
0xabcdef
(nil)
Positional madness:
4 3 2
00002
|Fiz |Buz | Fiz| Tot|
int: 5 double: 0.100000 0.200000 0.300000 0.400000
-1717986918 0.100000
-1717986918 0.200000
Float madness:
1.234568e+02
1.000000E-05
123.456789
0.000010
-1.234568e+02
-00000001.234568e+02
%.5g: -123.46
%.5f: -123.45679
%.5e: -1.23457e+02
%.*g: -1.2e+02
%.*f: -123.46
%.*e: -1.23e+02
%.*2$g: -123.46
%.*2$f: -123.45679
%.*2$e: -1.23457e+02
100000
1e+06
1.000000e+06
0.0001
1E-05
1.000000E-05
Non-finite float madness:
%e: inf -inf nan -nan
%E: INF -INF NAN -NAN
%f: inf -inf nan -nan
%F: INF -INF NAN -NAN
%g: inf -inf nan -nan
%G: INF -INF NAN -NAN
Things that have been buggy
+05
Testing asprintf...
printed: test string, value: 11
printed: test string 2, value: 13
printed: test string 2, value: 13
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment