unitTest.cpp 631 B

123456789101112
  1. Describe(triple_double)
  2. {
  3. // It(test1){Assert::That(trouble(451999277, 41177722899), Equals(true));}
  4. It(test2){Assert::That(trouble(444, 44), Equals(true));}
  5. // It(test3){Assert::That(trouble(1222345, 12345), Equals(false));}
  6. It(test4){Assert::That(trouble(12345, 12345), Equals(false));}
  7. It(test5){Assert::That(trouble(888, 888), Equals(true));}
  8. // It(test6){Assert::That(trouble(666789, 12345667), Equals(true));}
  9. // It(test7){Assert::That(trouble(10560002, 100), Equals(true));}
  10. It(test8){Assert::That(trouble(1, 1), Equals(false));}
  11. // It(test9){Assert::That(trouble(9111922229333339, 9559669779), Equals(false));}
  12. };