123456789101112 |
- Describe(tests)
- {
- It(test1){Assert::That(isNarcissistic(6), Equals(true));}
- It(test2){Assert::That(isNarcissistic(1741725), Equals(true));}
- It(test3){Assert::That(isNarcissistic(66), Equals(false));}
- It(test4){Assert::That(isNarcissistic(65239), Equals(false));}
- It(test5){Assert::That(isNarcissistic(886243), Equals(false));}
- It(test6){Assert::That(isNarcissistic(92727), Equals(true));}
- It(test7){Assert::That(isNarcissistic(472335975), Equals(true));}
- It(test8){Assert::That(isNarcissistic(42300981), Equals(false));}
- It(test9){Assert::That(isNarcissistic(548834), Equals(true));}
- };
|