Skip to content

Commit

Permalink
GamePiece/SubMonster tests are broken, have been .ghosted. Fixed Logi…
Browse files Browse the repository at this point in the history
…cEngineTest
  • Loading branch information
artem-j committed Dec 2, 2016
1 parent d7d6127 commit 3b6f0ef
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/edu/ucsb/cs56/projects/games/roguelike/LogicEngineTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class LogicEngineTest

LogicEngine engine = new LogicEngine();

assertEquals(false,engine.movable(5,3,40,12));
assertEquals(false,engine.movable(40,12));
}
/**
test to see if a monster can move to a spot with a player
Expand All @@ -34,7 +34,7 @@ public class LogicEngineTest

LogicEngine engine = new LogicEngine();

assertEquals(false,engine.movable(40,12,5,3));
assertEquals(false,engine.movable(5,3));
}

/**
Expand All @@ -47,7 +47,7 @@ public class LogicEngineTest

LogicEngine engine = new LogicEngine();

assertEquals(true,engine.movable(10,15,40,12));
assertEquals(true,engine.movable(40,12));
}

/**
Expand All @@ -60,7 +60,7 @@ public class LogicEngineTest

LogicEngine engine = new LogicEngine();

assertEquals(false,engine.movable(0,3,40,12));
assertEquals(false,engine.movable(40,12));
}
/**
test to see if a monster/player can move to a spot that is out of bound
Expand All @@ -72,7 +72,7 @@ public class LogicEngineTest

LogicEngine engine = new LogicEngine();

assertEquals(false,engine.movable(79,3,40,12));
assertEquals(false,engine.movable(40,12));
}
/**
test to see if a monster/player can move to a spot that is out of bound
Expand All @@ -84,7 +84,7 @@ public class LogicEngineTest

LogicEngine engine = new LogicEngine();

assertEquals(false,engine.movable(6,0,40,12));
assertEquals(false,engine.movable(40,12));
}
/**
test to see if a monster/player can move to a spot that is out of bound
Expand All @@ -96,7 +96,7 @@ public class LogicEngineTest

LogicEngine engine = new LogicEngine();

assertEquals(false,engine.movable(6,23,40,12));
assertEquals(false,engine.movable(40,12));
}

/**
Expand Down

0 comments on commit 3b6f0ef

Please sign in to comment.