Compare commits
No commits in common. "72b117f83b12715dfea7f8b80df08aaf56d1811f" and "e728c77982e932756358291a845a6e68676dcecf" have entirely different histories.
72b117f83b
...
e728c77982
1 changed files with 1 additions and 6 deletions
|
|
@ -15,7 +15,6 @@ import org.insa.graphs.model.io.BinaryGraphReader;
|
|||
import org.insa.graphs.model.io.BinaryPathReader;
|
||||
import org.insa.graphs.model.io.GraphReader;
|
||||
import org.insa.graphs.model.io.PathReader;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Test;
|
||||
|
||||
public class DijkstraAlgorithmTest {
|
||||
|
|
@ -27,7 +26,7 @@ public class DijkstraAlgorithmTest {
|
|||
public Path path;
|
||||
|
||||
|
||||
@BeforeClass
|
||||
//@Before
|
||||
public void init() {
|
||||
// Visit these directory to see the list of available files on Commetud.
|
||||
// When running with VSC, paths are relative to the BE_Graphes directory.
|
||||
|
|
@ -41,13 +40,9 @@ public class DijkstraAlgorithmTest {
|
|||
|
||||
// Read the graph. X
|
||||
this.graph = reader.read();
|
||||
// free resources
|
||||
reader.close();
|
||||
|
||||
// Create a PathReader.
|
||||
final PathReader pathReader = new BinaryPathReader(new DataInputStream(new BufferedInputStream(new FileInputStream(pathName))));
|
||||
// free resources
|
||||
pathReader.close();
|
||||
|
||||
// Read the path.
|
||||
this.path = pathReader.readPath(graph);
|
||||
|
|
|
|||
Loading…
Reference in a new issue