Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
b3fbd9e7
Commit
b3fbd9e7
authored
Aug 17, 2016
by
Matthieu Schaller
Browse files
Corrected bugs in the unit tests that relied on old variables.
parent
879a5034
Changes
4
Hide whitespace changes
Inline
Side-by-side
tests/test125cells.c
View file @
b3fbd9e7
...
...
@@ -466,7 +466,6 @@ int main(int argc, char *argv[]) {
/* Build the infrastructure */
struct
space
space
;
space
.
periodic
=
0
;
space
.
h_max
=
h
;
struct
phys_const
prog_const
;
prog_const
.
const_newton_G
=
1
.
f
;
...
...
tests/test27cells.c
View file @
b3fbd9e7
...
...
@@ -339,7 +339,6 @@ int main(int argc, char *argv[]) {
/* Build the infrastructure */
struct
space
space
;
space
.
periodic
=
0
;
space
.
h_max
=
h
;
struct
engine
engine
;
engine
.
s
=
&
space
;
...
...
tests/testPair.c
View file @
b3fbd9e7
...
...
@@ -238,7 +238,6 @@ int main(int argc, char *argv[]) {
}
space
.
periodic
=
0
;
space
.
h_max
=
h
;
engine
.
s
=
&
space
;
engine
.
time
=
0
.
1
f
;
...
...
tests/testTimeIntegration.c
View file @
b3fbd9e7
...
...
@@ -117,8 +117,6 @@ int main() {
/* Kick... */
runner_do_kick
(
&
run
,
&
c
,
0
);
/* Drift... */
runner_do_drift
(
&
run
,
&
c
,
0
);
}
/* Clean-up */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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