Пример #1
0
 def test_dissipative(self):
     model = models.Ruggiero2001(Hs=4, Tp=11, beta=0.001)
     assert model.R2 == approx(0.23, abs=0.01)
Пример #2
0
 def test_reflective(self):
     model = models.Ruggiero2001(Hs=4, Tp=11, beta=0.1)
     assert model.R2 == approx(2.35, abs=0.01)