Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mlz
kww
Commits
b67090ec
Commit
b67090ec
authored
Dec 17, 2019
by
Wuttke, Joachim
Browse files
+ kwws tests
parent
5fbbc3f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/kwwtest.c
View file @
b67090ec
...
...
@@ -70,6 +70,10 @@ int main(void) {
test_one
(
&
fail
,
1e-14
,
kwwc
(
2e-1
,
.
314
),
0
.
8172678260275950679
);
test_one
(
&
fail
,
1e-14
,
kwwc
(
2e0
,
.
314
),
0
.
0837197392901634224
);
test_one
(
&
fail
,
1e-14
,
kwws
(
2e-5
,
.
314
),
0
.
01452
905498350009518
);
// mode=1
test_one
(
&
fail
,
1e-14
,
kwws
(
2e-3
,
.
314
),
1
.
11472540368966655
);
// mode=2
test_one
(
&
fail
,
1e-14
,
kwws
(
2e-1
,
.
314
),
1
.
202467631193444353
);
// mode=3
printf
(
"#####################################
\n
"
);
if
(
fail
)
{
printf
(
"IN TOTAL, FAILURE IN %i TESTS
\n
"
,
fail
);
...
...
Write
Preview
Supports
Markdown
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