public void GetNumberTest9() { int[] data = { 3 }; int actual = NumberOfKHelper.GetNumberOfK(data, 3); Assert.AreEqual(actual, 1); }
public void GetNumberTest6() { int[] data = { 1, 3, 3, 3, 3, 4, 5 }; int actual = NumberOfKHelper.GetNumberOfK(data, 6); Assert.AreEqual(actual, 0); }
public void GetNumberTest8() { int[] data = { 3, 3, 3, 3 }; int actual = NumberOfKHelper.GetNumberOfK(data, 4); Assert.AreEqual(actual, 0); }
public void GetNumberTest11() { int actual = NumberOfKHelper.GetNumberOfK(null, 0); Assert.AreEqual(actual, 0); }