Skip to content

Commit

Permalink
add tests for EulerEquations1D
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLampert committed Jan 9, 2025
1 parent 8f4bf7f commit fa7ae38
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/test_unit.jl
Original file line number Diff line number Diff line change
Expand Up @@ -410,21 +410,24 @@ end
g = 9.81
k = 2 * pi
frequencies = [
7.850990247314777,
0.5660455316649682,
0.5660455316649682,
7.700912310929906,
3.1189522995345467,
3.1189522995345467
]
wave_speeds = [
1.2495239060264087,
0.09008894437955965,
0.09008894437955965,
1.2256382606017253,
0.4963966757387569,
0.4963966757387569
]

for (i, equations) in enumerate((BBMEquation1D(gravity_constant = g),
for (i, equations) in enumerate((EulerEquations1D(gravity_constant = g),
BBMEquation1D(gravity_constant = g),
BBMBBMEquations1D(gravity_constant = g),
SvärdKalischEquations1D(gravity_constant = g),
SerreGreenNaghdiEquations1D(gravity_constant = g),
Expand Down

0 comments on commit fa7ae38

Please sign in to comment.