public static boolean equalsOrDie(int expected, int got) {
        if (expected != got) {
            return die(Boolean.class, "Expected was", expected, "but we got ", got);
        }
        return true;
    }
public static boolean equalsOrDie(int expected, int got) {
        if (expected != got) {
            return die(Boolean.class, "Expected was", expected, "but we got ", got);
        }
        return true;
    }
public static boolean equalsOrDie ( int expected , int got ) { if ( expected != got ) { return die ( Boolean . class , "Expected was" , expected , "but we got " , got ) ; } return true ; }
Checks to see if two values are the same
@param expected expected value
@param got got value
@return true if equal throws exception if not equal
Checks to see if two values are the same