public void SubstringMatch(string a, string b, int Expected) { //arrange instantiating objects LoopWarmups WarmUp = new LoopWarmups(); //act Method int result = WarmUp.SubStringMatch(a, b); //assert testing result Assert.AreEqual(Expected, result); }
public void StringX(string str, string Expected) { //arrange instantiating objects LoopWarmups WarmUp = new LoopWarmups(); //act Method string result = WarmUp.StringX(str); //assert testing result Assert.AreEqual(Expected, result); }
public void Pattern51(int[] numbers, bool Expected) { //arrange instantiating objects LoopWarmups WarmUp = new LoopWarmups(); //act Method bool result = WarmUp.Pattern51(numbers); //assert testing result Assert.AreEqual(Expected, result); }
public void FrontTimes(string str, int n, string Expected) { //arrange instantiating objects LoopWarmups WarmUp = new LoopWarmups(); //act Method string result = WarmUp.FrontTimes(str, n); //assert testing result Assert.AreEqual(Expected, result); }
public void CountLast2(string str, int Expected) { //arrange instantiating objects LoopWarmups WarmUp = new LoopWarmups(); //act Method int result = WarmUp.CountLast2(str); //assert testing result Assert.AreEqual(Expected, result); }
public void Count9(int[] numbers, int Expected) { //arrange instantiating objects LoopWarmups WarmUp = new LoopWarmups(); //act Method int result = WarmUp.Count9(numbers); //assert testing result Assert.AreEqual(Expected, result); }