Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
eb8778f9
Commit
eb8778f9
authored
Jul 07, 2009
by
Hib Eris
Committed by
Alexandre Julliard
Jul 07, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32/tests: Add tests for VarDecCmp.
parent
8ce4de7d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
95 additions
and
0 deletions
+95
-0
vartype.c
dlls/oleaut32/tests/vartype.c
+95
-0
No files found.
dlls/oleaut32/tests/vartype.c
View file @
eb8778f9
...
...
@@ -4413,9 +4413,104 @@ static void test_VarDecCmp(void)
MATHVARS1
;
CHECKPTR
(
VarDecCmp
);
SETDEC
(
l
,
0
,
0
,
0
,
1
);
SETDEC
(
out
,
0
,
0
,
0
,
1
);
MATH1
(
VarDecCmp
);
EXPECT_EQ
;
SETDEC
(
l
,
0
,
0
,
0
,
1
);
SETDEC
(
out
,
0
,
0
,
0
,
0
);
MATH1
(
VarDecCmp
);
EXPECT_GT
;
SETDEC
(
l
,
0
,
0
,
0
,
1
);
SETDEC
(
out
,
0
,
0
,
-
1
,
-
1
);
MATH1
(
VarDecCmp
);
EXPECT_LT
;
SETDEC
(
l
,
0
,
0
,
0
,
1
);
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
0
,
1
);
MATH1
(
VarDecCmp
);
EXPECT_GT
;
SETDEC
(
l
,
0
,
0
,
0
,
1
);
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
0
,
0
);
MATH1
(
VarDecCmp
);
EXPECT_GT
;
SETDEC
(
l
,
0
,
0
,
0
,
1
);
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
-
1
,
-
1
);
MATH1
(
VarDecCmp
);
todo_wine
EXPECT_GT
;
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
0
,
1
);
SETDEC
(
out
,
0
,
0
,
0
,
1
);
MATH1
(
VarDecCmp
);
EXPECT_LT
;
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
0
,
1
);
SETDEC
(
out
,
0
,
0
,
0
,
0
);
MATH1
(
VarDecCmp
);
EXPECT_LT
;
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
0
,
1
);
SETDEC
(
out
,
0
,
0
,
-
1
,
-
1
);
MATH1
(
VarDecCmp
);
todo_wine
EXPECT_LT
;
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
0
,
1
);
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
0
,
1
);
MATH1
(
VarDecCmp
);
EXPECT_EQ
;
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
0
,
1
);
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
0
,
0
);
MATH1
(
VarDecCmp
);
EXPECT_LT
;
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
0
,
1
);
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
-
1
,
-
1
);
MATH1
(
VarDecCmp
);
EXPECT_GT
;
SETDEC
(
l
,
0
,
0
,
0
,
0
);
SETDEC
(
out
,
0
,
0
,
0
,
1
);
MATH1
(
VarDecCmp
);
EXPECT_LT
;
SETDEC
(
l
,
0
,
0
,
0
,
0
);
SETDEC
(
out
,
0
,
0
,
0
,
0
);
MATH1
(
VarDecCmp
);
EXPECT_EQ
;
SETDEC
(
l
,
0
,
0
,
0
,
0
);
SETDEC
(
out
,
0
,
0
,
-
1
,
-
1
);
MATH1
(
VarDecCmp
);
EXPECT_LT
;
SETDEC
(
l
,
0
,
0
,
0
,
0
);
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
0
,
1
);
MATH1
(
VarDecCmp
);
EXPECT_GT
;
SETDEC
(
l
,
0
,
0
,
0
,
0
);
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
0
,
0
);
MATH1
(
VarDecCmp
);
EXPECT_EQ
;
SETDEC
(
l
,
0
,
0
,
0
,
0
);
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
-
1
,
-
1
);
MATH1
(
VarDecCmp
);
EXPECT_GT
;
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
0
,
0
);
SETDEC
(
out
,
0
,
0
,
0
,
1
);
MATH1
(
VarDecCmp
);
EXPECT_LT
;
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
0
,
0
);
SETDEC
(
out
,
0
,
0
,
0
,
0
);
MATH1
(
VarDecCmp
);
EXPECT_EQ
;
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
0
,
0
);
SETDEC
(
out
,
0
,
0
,
-
1
,
-
1
);
MATH1
(
VarDecCmp
);
EXPECT_LT
;
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
0
,
0
);
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
0
,
1
);
MATH1
(
VarDecCmp
);
EXPECT_GT
;
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
0
,
0
);
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
0
,
0
);
MATH1
(
VarDecCmp
);
EXPECT_EQ
;
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
0
,
0
);
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
-
1
,
-
1
);
MATH1
(
VarDecCmp
);
EXPECT_GT
;
SETDEC
(
l
,
0
,
0
,
-
1
,
-
1
);
SETDEC
(
out
,
0
,
0
,
0
,
1
);
MATH1
(
VarDecCmp
);
EXPECT_GT
;
SETDEC
(
l
,
0
,
0
,
-
1
,
-
1
);
SETDEC
(
out
,
0
,
0
,
0
,
0
);
MATH1
(
VarDecCmp
);
EXPECT_GT
;
SETDEC
(
l
,
0
,
0
,
-
1
,
-
1
);
SETDEC
(
out
,
0
,
0
,
-
1
,
-
1
);
MATH1
(
VarDecCmp
);
EXPECT_EQ
;
SETDEC
(
l
,
0
,
0
,
-
1
,
-
1
);
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
0
,
1
);
MATH1
(
VarDecCmp
);
todo_wine
EXPECT_GT
;
SETDEC
(
l
,
0
,
0
,
-
1
,
-
1
);
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
0
,
0
);
MATH1
(
VarDecCmp
);
EXPECT_GT
;
SETDEC
(
l
,
0
,
0
,
-
1
,
-
1
);
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
-
1
,
-
1
);
MATH1
(
VarDecCmp
);
todo_wine
EXPECT_GT
;
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
-
1
,
-
1
);
SETDEC
(
out
,
0
,
0
,
0
,
1
);
MATH1
(
VarDecCmp
);
todo_wine
EXPECT_LT
;
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
-
1
,
-
1
);
SETDEC
(
out
,
0
,
0
,
0
,
0
);
MATH1
(
VarDecCmp
);
EXPECT_LT
;
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
-
1
,
-
1
);
SETDEC
(
out
,
0
,
0
,
-
1
,
-
1
);
MATH1
(
VarDecCmp
);
todo_wine
EXPECT_LT
;
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
-
1
,
-
1
);
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
0
,
1
);
MATH1
(
VarDecCmp
);
EXPECT_LT
;
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
-
1
,
-
1
);
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
0
,
0
);
MATH1
(
VarDecCmp
);
EXPECT_LT
;
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
-
1
,
-
1
);
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
-
1
,
-
1
);
MATH1
(
VarDecCmp
);
EXPECT_EQ
;
SETDEC
(
out
,
0
,
0
,
0
,
1
);
SETDEC
(
l
,
0
,
0
,
0
,
1
);
MATH1
(
VarDecCmp
);
EXPECT_EQ
;
SETDEC
(
out
,
0
,
0
,
0
,
1
);
SETDEC
(
l
,
0
,
0
,
0
,
0
);
MATH1
(
VarDecCmp
);
EXPECT_LT
;
SETDEC
(
out
,
0
,
0
,
0
,
1
);
SETDEC
(
l
,
0
,
0
,
-
1
,
-
1
);
MATH1
(
VarDecCmp
);
EXPECT_GT
;
SETDEC
(
out
,
0
,
0
,
0
,
1
);
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
0
,
1
);
MATH1
(
VarDecCmp
);
EXPECT_LT
;
SETDEC
(
out
,
0
,
0
,
0
,
1
);
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
0
,
0
);
MATH1
(
VarDecCmp
);
EXPECT_LT
;
SETDEC
(
out
,
0
,
0
,
0
,
1
);
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
-
1
,
-
1
);
MATH1
(
VarDecCmp
);
todo_wine
EXPECT_LT
;
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
0
,
1
);
SETDEC
(
l
,
0
,
0
,
0
,
1
);
MATH1
(
VarDecCmp
);
EXPECT_GT
;
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
0
,
1
);
SETDEC
(
l
,
0
,
0
,
0
,
0
);
MATH1
(
VarDecCmp
);
EXPECT_GT
;
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
0
,
1
);
SETDEC
(
l
,
0
,
0
,
-
1
,
-
1
);
MATH1
(
VarDecCmp
);
todo_wine
EXPECT_GT
;
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
0
,
1
);
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
0
,
1
);
MATH1
(
VarDecCmp
);
EXPECT_EQ
;
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
0
,
1
);
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
0
,
0
);
MATH1
(
VarDecCmp
);
EXPECT_GT
;
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
0
,
1
);
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
-
1
,
-
1
);
MATH1
(
VarDecCmp
);
EXPECT_LT
;
SETDEC
(
out
,
0
,
0
,
0
,
0
);
SETDEC
(
l
,
0
,
0
,
0
,
1
);
MATH1
(
VarDecCmp
);
EXPECT_GT
;
SETDEC
(
out
,
0
,
0
,
0
,
0
);
SETDEC
(
l
,
0
,
0
,
0
,
0
);
MATH1
(
VarDecCmp
);
EXPECT_EQ
;
SETDEC
(
out
,
0
,
0
,
0
,
0
);
SETDEC
(
l
,
0
,
0
,
-
1
,
-
1
);
MATH1
(
VarDecCmp
);
EXPECT_GT
;
SETDEC
(
out
,
0
,
0
,
0
,
0
);
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
0
,
1
);
MATH1
(
VarDecCmp
);
EXPECT_LT
;
SETDEC
(
out
,
0
,
0
,
0
,
0
);
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
0
,
0
);
MATH1
(
VarDecCmp
);
EXPECT_EQ
;
SETDEC
(
out
,
0
,
0
,
0
,
0
);
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
-
1
,
-
1
);
MATH1
(
VarDecCmp
);
EXPECT_LT
;
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
0
,
0
);
SETDEC
(
l
,
0
,
0
,
0
,
1
);
MATH1
(
VarDecCmp
);
EXPECT_GT
;
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
0
,
0
);
SETDEC
(
l
,
0
,
0
,
0
,
0
);
MATH1
(
VarDecCmp
);
EXPECT_EQ
;
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
0
,
0
);
SETDEC
(
l
,
0
,
0
,
-
1
,
-
1
);
MATH1
(
VarDecCmp
);
EXPECT_GT
;
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
0
,
0
);
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
0
,
1
);
MATH1
(
VarDecCmp
);
EXPECT_LT
;
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
0
,
0
);
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
0
,
0
);
MATH1
(
VarDecCmp
);
EXPECT_EQ
;
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
0
,
0
);
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
-
1
,
-
1
);
MATH1
(
VarDecCmp
);
EXPECT_LT
;
SETDEC
(
out
,
0
,
0
,
-
1
,
-
1
);
SETDEC
(
l
,
0
,
0
,
0
,
1
);
MATH1
(
VarDecCmp
);
EXPECT_LT
;
SETDEC
(
out
,
0
,
0
,
-
1
,
-
1
);
SETDEC
(
l
,
0
,
0
,
0
,
0
);
MATH1
(
VarDecCmp
);
EXPECT_LT
;
SETDEC
(
out
,
0
,
0
,
-
1
,
-
1
);
SETDEC
(
l
,
0
,
0
,
-
1
,
-
1
);
MATH1
(
VarDecCmp
);
EXPECT_EQ
;
SETDEC
(
out
,
0
,
0
,
-
1
,
-
1
);
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
0
,
1
);
MATH1
(
VarDecCmp
);
todo_wine
EXPECT_LT
;
SETDEC
(
out
,
0
,
0
,
-
1
,
-
1
);
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
0
,
0
);
MATH1
(
VarDecCmp
);
EXPECT_LT
;
SETDEC
(
out
,
0
,
0
,
-
1
,
-
1
);
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
-
1
,
-
1
);
MATH1
(
VarDecCmp
);
todo_wine
EXPECT_LT
;
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
-
1
,
-
1
);
SETDEC
(
l
,
0
,
0
,
0
,
1
);
MATH1
(
VarDecCmp
);
todo_wine
EXPECT_GT
;
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
-
1
,
-
1
);
SETDEC
(
l
,
0
,
0
,
0
,
0
);
MATH1
(
VarDecCmp
);
EXPECT_GT
;
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
-
1
,
-
1
);
SETDEC
(
l
,
0
,
0
,
-
1
,
-
1
);
MATH1
(
VarDecCmp
);
todo_wine
EXPECT_GT
;
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
-
1
,
-
1
);
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
0
,
1
);
MATH1
(
VarDecCmp
);
EXPECT_GT
;
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
-
1
,
-
1
);
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
0
,
0
);
MATH1
(
VarDecCmp
);
EXPECT_GT
;
SETDEC
(
out
,
0
,
DECIMAL_NEG
,
-
1
,
-
1
);
SETDEC
(
l
,
0
,
DECIMAL_NEG
,
-
1
,
-
1
);
MATH1
(
VarDecCmp
);
EXPECT_EQ
;
}
/*
...
...
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