test(dijkstra): fix git mishap
This commit is contained in:
parent
0cfdaf1ef2
commit
6db6644828
1 changed files with 1 additions and 1 deletions
|
@ -70,6 +70,7 @@ public class DijkstraAlgorithmTest {
|
||||||
// appeler constructeur dijkstra
|
// appeler constructeur dijkstra
|
||||||
// donner le path à afficher en renvoyant le path de dijkstra dans path.
|
// donner le path à afficher en renvoyant le path de dijkstra dans path.
|
||||||
// Chemin court => Bellman OK et vérifié. On compare les résultats obtenus par les 2 algos
|
// Chemin court => Bellman OK et vérifié. On compare les résultats obtenus par les 2 algos
|
||||||
|
public void testToulouseCourtChemin() {
|
||||||
ArcInspector arcInspector;
|
ArcInspector arcInspector;
|
||||||
ShortestPathData data = new ShortestPathData(this.graph, this.path.getOrigin(), this.path.getDestination(), null);
|
ShortestPathData data = new ShortestPathData(this.graph, this.path.getOrigin(), this.path.getDestination(), null);
|
||||||
|
|
||||||
|
@ -79,7 +80,6 @@ public class DijkstraAlgorithmTest {
|
||||||
BellmanFordAlgorithm bellman = new BellmanFordAlgorithm(data);
|
BellmanFordAlgorithm bellman = new BellmanFordAlgorithm(data);
|
||||||
ShortestPathSolution bell_path = bellman.doRun();
|
ShortestPathSolution bell_path = bellman.doRun();
|
||||||
assert(dijk_path.getPath() == bell_path.getPath());
|
assert(dijk_path.getPath() == bell_path.getPath());
|
||||||
public void testToulouseCourtChemin() {
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Long chemin => Bellman trop long, on compare dijkstra au chemin récupéré directement
|
// Long chemin => Bellman trop long, on compare dijkstra au chemin récupéré directement
|
||||||
|
|
Loading…
Reference in a new issue