Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
c23a9257
Commit
c23a9257
authored
Oct 24, 2003
by
Uwe Bonnes
Committed by
Alexandre Julliard
Oct 24, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a test case for sprintf.
parent
d8bd18e6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
scanf.c
dlls/msvcrt/tests/scanf.c
+11
-0
No files found.
dlls/msvcrt/tests/scanf.c
View file @
c23a9257
...
...
@@ -75,8 +75,19 @@ static void test_sscanf( void )
ok
(
number_so_far
==
1
,
"Read wrong arg for
\"
%%n
\"
%d instead of 2"
,
number_so_far
);
}
static
void
test_sprintf
(
void
)
{
char
buffer
[
100
];
double
pnumber
=
789456123
;
sprintf
(
buffer
,
"%+#23.15e"
,
pnumber
);
todo_wine
{
ok
(
strstr
(
buffer
,
"e+008"
)
!=
0
,
"Sprintf different
\"
%s
\"\n
"
,
buffer
);
}
}
START_TEST
(
scanf
)
{
test_sscanf
();
test_sprintf
();
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment