Commit f72281e6 authored by Jonathan Shahen's avatar Jonathan Shahen
Browse files

HOTFIX: forgot to add the JUint test file for PlacementMapFile on the last commit

parent 6f10cf51
package vagabond.testing;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import vagabond.pieces.EpochHistory;
import vagabond.pieces.PlacementMap;
import vagabond.placement.PlacementMapFile;
public class PlacementMapFileTests {
public void testReadEpochHistory() throws IOException {
EpochHistory eh = PlacementMapFile.readEpochHistory(new File("tests/placementMapHistory.csv"));
PlacementMap pControl = PlacementMapExamples.nomadSubOptimalRCPlacement();
assertEquals(5, eh.size());
public void testReadPlacementMap() throws IOException {
PlacementMap pTest = PlacementMapFile.readPlacementMap("tests/nomadSubOptimalRCPlacement.csv");
PlacementMap pControl = PlacementMapExamples.nomadSubOptimalRCPlacement();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment