Commit b3fbd9e7 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Corrected bugs in the unit tests that relied on old variables.

parent 879a5034
...@@ -466,7 +466,6 @@ int main(int argc, char *argv[]) { ...@@ -466,7 +466,6 @@ int main(int argc, char *argv[]) {
/* Build the infrastructure */ /* Build the infrastructure */
struct space space; struct space space;
space.periodic = 0; space.periodic = 0;
space.h_max = h;
struct phys_const prog_const; struct phys_const prog_const;
prog_const.const_newton_G = 1.f; prog_const.const_newton_G = 1.f;
......
...@@ -339,7 +339,6 @@ int main(int argc, char *argv[]) { ...@@ -339,7 +339,6 @@ int main(int argc, char *argv[]) {
/* Build the infrastructure */ /* Build the infrastructure */
struct space space; struct space space;
space.periodic = 0; space.periodic = 0;
space.h_max = h;
struct engine engine; struct engine engine;
engine.s = &space; engine.s = &space;
......
...@@ -238,7 +238,6 @@ int main(int argc, char *argv[]) { ...@@ -238,7 +238,6 @@ int main(int argc, char *argv[]) {
} }
space.periodic = 0; space.periodic = 0;
space.h_max = h;
engine.s = &space; engine.s = &space;
engine.time = 0.1f; engine.time = 0.1f;
......
...@@ -117,8 +117,6 @@ int main() { ...@@ -117,8 +117,6 @@ int main() {
/* Kick... */ /* Kick... */
runner_do_kick(&run, &c, 0); runner_do_kick(&run, &c, 0);
/* Drift... */
runner_do_drift(&run, &c, 0);
} }
/* Clean-up */ /* Clean-up */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment