예제 #1
0
 public static void assertEquals(String message, Object expected, Object actual) {
   if (BuildConfig.DEBUG) {
     assertTrue(message, Objects.equals(expected, actual));
   }
 }
예제 #2
0
 public static void assertEquals(int expected, int actual) {
   if (BuildConfig.DEBUG) {
     assertTrue(Objects.equals(expected, actual));
   }
 }
예제 #3
0
 public static void assertEquals(Throwable message, int expected, int actual) {
   if (BuildConfig.DEBUG) {
     assertTrue(message, Objects.equals(expected, actual));
   }
 }
예제 #4
0
 public static void assertEquals(boolean expected, boolean actual) {
   if (BuildConfig.DEBUG) {
     assertTrue(Objects.equals(expected, actual));
   }
 }
예제 #5
0
 public static void assertEquals(float expected, float actual, float delta) {
   if (BuildConfig.DEBUG) {
     assertTrue(Objects.equals(expected, actual));
   }
 }
예제 #6
0
 public static void assertEquals(double expected, double actual, double delta) {
   if (BuildConfig.DEBUG) {
     assertTrue(Objects.equals(expected, actual));
   }
 }