Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tests/test_genetic.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ def test_recalculate_speed_for_route():
assert np.all((new_route[:, 2] - bs_approx.value) < 0.3)


@pytest.mark.manual
@pytest.mark.skip(reason="Test needs modified route array.")
def test_single_point_crossover(plt):
dirname = os.path.dirname(__file__)
Expand Down Expand Up @@ -375,6 +376,7 @@ def test_single_point_crossover(plt):
plt.saveas = "test_single_point_crossoverr.png"


@pytest.mark.manual
def test_speed_crossover(plt):
dirname = os.path.dirname(__file__)
configpath = os.path.join(dirname, 'config.isofuel_single_route.json')
Expand Down
1 change: 1 addition & 0 deletions tests/test_genetic_mcdm.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from WeatherRoutingTool.algorithms.genetic.mcdm import RMethod


@pytest.mark.manual
@pytest.mark.parametrize("obj_fuel,obj_time", [(1, 1), (1, 2), (2, 1)])
def test_weight_determination_for_solution_selection(plt, obj_fuel, obj_time):
fuel_weight = np.random.rand(1, 10000) * 0.1
Expand Down