public void StrayNumber_Stray_SimpleArray3() { Assert.AreEqual(-6, StrayNumber.Stray(new int[] { -21, -21, -21, -21, -6, -21, -21 })); }
public void StrayNumber_Stray_MiddleItem() { Assert.AreEqual(7, StrayNumber.Stray(new int[] { 0, 0, 0, 7, 0, 0, 0 })); }
public void StrayNumber_Stray_LastItem() { Assert.AreEqual(0, StrayNumber.Stray(new int[] { 1, 1, 1, 1, 1, 1, 0 })); }
public void StrayNumber_Stray_FirstItem() { Assert.AreEqual(8, StrayNumber.Stray(new int[] { 8, 1, 1, 1, 1, 1, 1 })); }
public void StrayNumber_Stray_SimpleArray2() { Assert.AreEqual(3, StrayNumber.Stray(new int[] { 17, 17, 3, 17, 17, 17, 17 })); }
public void StrayNumber_Stray_SimpleArray1() { Assert.AreEqual(2, StrayNumber.Stray(new int[] { 1, 1, 2 })); }