title: I am getting mixed results when testing for specific numbers within a random method
body: <p>When testing these two methods I am getting mixed results. Occasionally when testing, values that should be false are true and vise versa. I have tried returning a single number in the Roll method and that works just fine when testing. </p>
  
  <pre><code> public class Game {
  
      public int Roll() {
          return ran.nextInt(10) + 1;
      }
  
      public boolean checkRoll() {
          boolean check;
          if(Roll() == 1 || Roll() == 5) {
              check = true;
          }
          else {
              check = false;
          }
          return check;           
      }
  
      public static void main(String [] args ) {  
          Game g = new Game();
          System.out.println(g.Roll());
          System.out.println(g.checkRoll());
      }
  </code></pre>