public static void ReturnsSolution(int n, int x) { var result = Problem28.Solution(n); Assert.AreEqual(x, result); }
public void Problem28_Return_Result_669171001() { long act = Problem28.NumberSpiralDiagonals(); Assert.True(act.Equals(669171001)); }
public static void SpiralDiagonalSequence(int n, int x) { var element = Problem28.SpiralDiagonalSequence(n); Assert.AreEqual(x, element); }