tests package

Submodules

tests.test_kt module

test_kt.

  • pytest code of shipmmg/kt.py

tests.test_kt.ship_kt(sim_result)[source]

Fixture for testing in this file.

tests.test_kt.sim_result()[source]

Just check shimmg.kt.simulate().

tests.test_kt.test_Ship3DOF_drawing_function(ship_kt, tmpdir)[source]

Check drawing functions of Ship3DOF class by using KT simulation results.

tests.test_kt.test_zigzag_test_kt(tmpdir)[source]

Just check shimmg.kt.zigzag_test_kt().

tests.test_mmg_3dof module

test_mmg_3dof.

  • pytest code of shipmmg/mmg_3dof.py

tests.test_mmg_3dof.kvlcc2_L7_35_turning(ship_KVLCC2_L7_model)[source]

Do turning test using KVLCC2 L7 model.

tests.test_mmg_3dof.ship_KVLCC2_L7_model()[source]
tests.test_mmg_3dof.test_Ship3DOF_drawing_function(kvlcc2_L7_35_turning, tmpdir)[source]

Check drawing functions of Ship3DOF class by using MMG 3DOF simulation results.

tests.test_mmg_3dof.test_get_sub_values_from_simulation_result(kvlcc2_L7_35_turning, ship_KVLCC2_L7_model, tmpdir)[source]

Test get_sub_values_from_simulation_result() using KVLCC2 L7 model.

tests.test_mmg_3dof.test_zigzag_test_mmg(ship_KVLCC2_L7_model, tmpdir)[source]

Test zigzag test mmg simulation using KVLCC2 L7 model.

tests.test_mmg_3dof.test_zigzag_test_mmg_before(ship_KVLCC2_L7_model, tmpdir)[source]

tests.test_shipmmg module

test_shipmmg.

  • version check

tests.test_shipmmg.test_version()[source]

Test version.

Module contents