// Path: kawala-testing/src/main/java/com/kaching/platform/testing/Assert.java
// public static void assertBigDecimalEquals(double d1, BigDecimal d2) {
//   assertBigDecimalEquals(null, d1, d2);
// }
// 
// Path: kawala-testing/src/main/java/com/kaching/platform/testing/Assert.java
// public static void assertFloatEquals(float f1, float f2) {
//   assertBigDecimalEquals(null, new BigDecimal(Float.toString(f1)),
//       new BigDecimal(Float.toString(f2)));
// }
// 
// Path: kawala-testing/src/main/java/com/kaching/platform/testing/Assert.java
// @SuppressWarnings("finally")
// public static void assertNotEquals(Object expected, Object actual) {
//   boolean wasEqual = false;
//   try {
//     assertEquals(expected, actual);
//     wasEqual = true;
//   } catch (AssertionError e) {
//   } finally {
//     if (wasEqual) {
//       fail();
//     }
//     return;
//   }
// }


import static com.google.common.collect.Lists.newArrayList;
import static com.kaching.platform.testing.Assert.assertBigDecimalEquals;
import static com.kaching.platform.testing.Assert.assertFloatEquals;
import static com.kaching.platform.testing.Assert.assertNotEquals;
import static java.math.BigDecimal.ONE;
import static java.math.BigDecimal.ZERO;
import static java.math.BigDecimal.valueOf;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
import java.math.BigDecimal;
import java.util.List;
import org.junit.ComparisonFailure;
import org.junit.Test;
  @Test
  public void assertBigDecimalEquals13() {
    try {  // float test with message
      assertBigDecimalEquals("msg", 0.001001f, BigDecimal.valueOf(0.001).setScale(6));
      fail();
    } catch (ComparisonFailure e) {
      assertEquals("msg expected:<0.00100[1]> but was:<0.00100[0]>", e.getMessage());
    }
  }

  @Test
  public void assertBigDecimalEquals14() {
    assertBigDecimalEquals(0, ZERO);  // integer test
    assertBigDecimalEquals(-103, valueOf(-103));
    assertBigDecimalEquals(101, valueOf(101));
  }

  @Test
  public void assertBigDecimalEquals15() {
    try {
      assertBigDecimalEquals(31, null);  // integer test with null
      fail();
    } catch (ComparisonFailure e) {
      assertEquals("expected:<[31]> but was:<[null]>", e.getMessage());
    }
  }

  @Test
  public void assertBigDecimalEquals16() {
    try {
// Path: kawala-testing/src/main/java/com/kaching/platform/testing/Assert.java
// public static void assertBigDecimalEquals(double d1, BigDecimal d2) {
//   assertBigDecimalEquals(null, d1, d2);
// }
// 
// Path: kawala-testing/src/main/java/com/kaching/platform/testing/Assert.java
// public static void assertFloatEquals(float f1, float f2) {
//   assertBigDecimalEquals(null, new BigDecimal(Float.toString(f1)),
//       new BigDecimal(Float.toString(f2)));
// }
// 
// Path: kawala-testing/src/main/java/com/kaching/platform/testing/Assert.java
// @SuppressWarnings("finally")
// public static void assertNotEquals(Object expected, Object actual) {
//   boolean wasEqual = false;
//   try {
//     assertEquals(expected, actual);
//     wasEqual = true;
//   } catch (AssertionError e) {
//   } finally {
//     if (wasEqual) {
//       fail();
//     }
//     return;
//   }
// }


// Path: kawala-testing/src/test/java/com/kaching/platform/testing/AssertTest.java
import static com.google.common.collect.Lists.newArrayList;
import static com.kaching.platform.testing.Assert.assertBigDecimalEquals;
import static com.kaching.platform.testing.Assert.assertFloatEquals;
import static com.kaching.platform.testing.Assert.assertNotEquals;
import static java.math.BigDecimal.ONE;
import static java.math.BigDecimal.ZERO;
import static java.math.BigDecimal.valueOf;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
import java.math.BigDecimal;
import java.util.List;
import org.junit.ComparisonFailure;
import org.junit.Test;

  @Test
  public void assertBigDecimalEquals13() {
    try {  // float test with message
      assertBigDecimalEquals("msg", 0.001001f, BigDecimal.valueOf(0.001).setScale(6));
      fail();
    } catch (ComparisonFailure e) {
      assertEquals("msg expected:<0.00100[1]> but was:<0.00100[0]>", e.getMessage());
    }
  }

  @Test
  public void assertBigDecimalEquals14() {
    assertBigDecimalEquals(0, ZERO);  // integer test
    assertBigDecimalEquals(-103, valueOf(-103));
    assertBigDecimalEquals(101, valueOf(101));
  }

  @Test
  public void assertBigDecimalEquals15() {
    try {
      assertBigDecimalEquals(31, null);  // integer test with null
      fail();
    } catch (ComparisonFailure e) {
      assertEquals("expected:<[31]> but was:<[null]>", e.getMessage());
    }
  }

  @Test
  public void assertBigDecimalEquals16() {
    try {
      assertBigDecimalEquals(13, ONE);  // integer test