Skip to content

Commit

Permalink
Fixing f-string printing
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanjmeade committed Jul 10, 2024
1 parent 86958a9 commit 1fc20a0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_western_north_america_dense.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,29 +63,29 @@ def test_western_north_america_dense():
test_western_north_america_arrays = np.load("./tests/test_western_north_america_arrays.npz")

print("START - SLIP RATE TEST")
print(f"{estimation.slip_rates[0]}, {test_western_north_america_arrays["estimation_slip_rates"][0]}")
print(f"{estimation.slip_rates[0]}, {test_western_north_america_arrays['estimation_slip_rates'][0]}")
assert np.allclose(
estimation.slip_rates, test_western_north_america_arrays["estimation_slip_rates"]
)
print("END - SLIP RATE TEST")

print("START - TDE RATE TEST")
print(f"{estimation.tde_rates[0]}, {test_western_north_america_arrays["estimation_tde_rates"][0]}")
print(f"{estimation.tde_rates[0]}, {test_western_north_america_arrays['estimation_tde_rates'][0]}")
assert np.allclose(
estimation.tde_rates, test_western_north_america_arrays["estimation_tde_rates"]
)
print("END - TDE RATE TEST")

print("START - EAST RESIDUAL TEST")
print(f"{estimation.east_vel_residual[0]}, {test_western_north_america_arrays["estimation_east_vel_residual"][0]}")
print(f"{estimation.east_vel_residual[0]}, {test_western_north_america_arrays['estimation_east_vel_residual'][0]}")
assert np.allclose(
estimation.east_vel_residual,
test_western_north_america_arrays["estimation_east_vel_residual"],
)
print("END - EAST RESIDUAL TEST")

print("START - NORTH RESIDUAL TEST")
print(f"{estimation.north_vel_residual[0]}, {test_western_north_america_arrays["estimation_north_vel_residual"][0]}")
print(f"{estimation.north_vel_residual[0]}, {test_western_north_america_arrays['estimation_north_vel_residual'][0]}")
assert np.allclose(
estimation.north_vel_residual,
test_western_north_america_arrays["estimation_north_vel_residual"],
Expand Down

0 comments on commit 1fc20a0

Please sign in to comment.