Skip to content

Commit

Permalink
test commit; please ignore
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
  • Loading branch information
XenuIsWatching committed Dec 12, 2023
1 parent 4fd784b commit 177dc1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/src/phy_atom_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ ZTEST(zsl_tests, test_phy_atom_bohr_orb_radius)

rc = zsl_phy_atom_bohr_orb_radius(3, 5, &r);
zassert_true(rc == 0, NULL);
printf("%f", (double)r);
zassert_true(val_is_equal(r, 0.4409810014, 1E-6), NULL);

/* Example for zero Z. */
Expand Down
2 changes: 2 additions & 0 deletions tests/src/phy_grav_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ ZTEST(zsl_tests, test_phy_grav_force)

rc = zsl_phy_grav_force(1E15, 200.0, 500.0, &f);
zassert_true(rc == 0, NULL);
printf("%f", (double)f);
zassert_true(val_is_equal(f, -53.39264, 1E-6), NULL);

rc = zsl_phy_grav_force(1E15, 200.0, 0.0, &f);
Expand All @@ -93,6 +94,7 @@ ZTEST(zsl_tests, test_phy_grav_pot_ener)

rc = zsl_phy_grav_pot_ener(1E15, 200.0, 500.0, &u);
zassert_true(rc == 0, NULL);
printf("%f", (double)u);
zassert_true(val_is_equal(u, -26.69632, 1E-6), NULL);

rc = zsl_phy_grav_pot_ener(1E15, 200.0, 0.0, &u);
Expand Down

0 comments on commit 177dc1b

Please sign in to comment.