Skip to content
This repository has been archived by the owner on May 13, 2020. It is now read-only.

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-garcia committed Dec 11, 2019
1 parent e67e60a commit 856d2f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 88 deletions.
85 changes: 0 additions & 85 deletions src/for-test.jl

This file was deleted.

6 changes: 3 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const RRB = RoadefRenaultBrazil
type_fichier = "A"
nom_fichier = "024_38_3_EP_ENP_RAF"
instance = RRB.parser(nom_fichier, type_fichier)
solution = RRB.greedy(instance)
solution = RRB.greedy_pcc(instance)
@testset "move_exchange!" begin
solution_test = deepcopy(solution)
RRB.move_exchange!(solution_test, 1, instance.nb_cars, instance)
Expand Down Expand Up @@ -62,7 +62,7 @@ end;
type_fichier = "A"
nom_fichier = "024_38_3_EP_ENP_RAF"
instance = RRB.parser(nom_fichier, type_fichier)
solution = RRB.greedy(instance)
solution = RRB.greedy_pcc(instance)
@testset "move_insertion!" begin
solution_test = deepcopy(solution)
RRB.move_insertion!(solution_test, 1, 1, instance)
Expand Down Expand Up @@ -141,7 +141,7 @@ end;
type_fichier = "A"
nom_fichier = "024_38_3_EP_ENP_RAF"
instance = RRB.parser(nom_fichier, type_fichier)
solution = RRB.greedy(instance)
solution = RRB.greedy_pcc(instance)
@testset "update_matrices!" begin
solution_test = deepcopy(solution)
RRB.update_matrices!(solution_test, instance)
Expand Down

0 comments on commit 856d2f6

Please sign in to comment.