public void Verify_That_284_Is_Amicable_Pair_With_220() { var problem = new Problem_021(); var result = problem.IsAmicablePair(220, 284); Assert.That(result, Is.True); }
public void Get_The_Sum_Of_All_Amicable_Pairs_Under_10000() { var problem = new Problem_021(); var result = problem.GetSumOfAmicablePairsUnder(10000); Assert.That(result, Is.EqualTo(31626)); }