public static void EQ ( long parameter , long expected , String name ) throws IllegalArgumentException { if ( parameter != expected ) { throw new IllegalArgumentException ( String . format ( "%s is not %d." , name , expected ) ) ; } }
Test if numeric parameter has expected value .