Browse Source

refactor: test_history() change

main
fdai6499 2 years ago
parent
commit
05b4ceec56
  1. 2
      src/test/java/MainFrameTest.java

2
src/test/java/MainFrameTest.java

@ -20,7 +20,7 @@ public class MainFrameTest {
GameField gameField = mainFrame.getGameField();
gameField.setValue(5, 5, 5);
mainFrame.saveCurrentGameFieldStateToHistory();
int field = mainFrame.getHistory().getFirst().getField(5, 5);
int field = mainFrame.getHistory().getLast().getField(5, 5);
assertEquals(5, field);
}
Loading…
Cancel
Save