rename result and sure in Guess to language and safe

Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
This commit is contained in:
Miguel Molina
2017-08-09 11:29:45 +02:00
parent 61827a3630
commit 4da1c5605c
2 changed files with 10 additions and 10 deletions

View File

@@ -141,9 +141,9 @@ public class EnryTest {
assertFalse(Enry.isImage("nope.go"));
}
void assertGuess(String language, boolean sure, Guess result) {
assertEquals(language, result.result);
assertEquals(sure, result.sure);
void assertGuess(String language, boolean safe, Guess guess) {
assertEquals(language, guess.language);
assertEquals(safe, guess.safe);
}
}