Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
Signed-off-by: Jenn Nguyen <[email protected]>
  • Loading branch information
jennuine committed Feb 9, 2022
1 parent 1df5df2 commit 48de1b0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions test/integration/default_elements.cc
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,8 @@ TEST(ExplicitlySetInFile, ToString)
<< " <heading_deg>0</heading_deg>\n"
<< " </spherical_coordinates>\n"
<< " <gravity>0 0 -9.8</gravity>\n"
<< " <magnetic_field>6e-06 2.3e-05 -4.2e-05</magnetic_field>\n"
<< " <magnetic_field>5.5645e-06 2.28758e-05 -4.23884e-05"
<< "</magnetic_field>\n"
<< " <atmosphere type='adiabatic'/>\n"
<< " <physics type='ode'>\n"
<< " <max_step_size>0.001</max_step_size>\n"
Expand Down Expand Up @@ -232,7 +233,8 @@ TEST(ExplicitlySetInFile, ToString)
<< " <heading_deg>0</heading_deg>\n"
<< " </spherical_coordinates>\n"
<< " <gravity>0 0 -9.8</gravity>\n"
<< " <magnetic_field>6e-06 2.3e-05 -4.2e-05</magnetic_field>\n"
<< " <magnetic_field>5.5645e-06 2.28758e-05 -4.23884e-05"
<< "</magnetic_field>\n"
<< " <atmosphere type='adiabatic'/>\n"
<< " <physics name='default_physics' default='false' type='ode'>\n"
<< " <max_step_size>0.001</max_step_size>\n"
Expand Down
2 changes: 1 addition & 1 deletion test/integration/include_custom_model_expected_output.sdf
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@
</model>
</model>
<gravity>0 0 -9.8</gravity>
<magnetic_field>6e-06 2.3e-05 -4.2e-05</magnetic_field>
<magnetic_field>5.5645e-06 2.28758e-05 -4.23884e-05</magnetic_field>
<atmosphere type='adiabatic'/>
<physics type='ode'>
<max_step_size>0.001</max_step_size>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@
</model>
</model>
<gravity>0 0 -9.8</gravity>
<magnetic_field>6e-06 2.3e-05 -4.2e-05</magnetic_field>
<magnetic_field>5.5645e-06 2.28758e-05 -4.23884e-05</magnetic_field>
<atmosphere type='adiabatic'/>
<physics type='ode'>
<max_step_size>0.001</max_step_size>
Expand Down

0 comments on commit 48de1b0

Please sign in to comment.