public void InputCheck_ListEmpty_FalseReturn() { var worldTest = new WorldBankCountryAPI(); List <string> testInput = new List <string>(); bool inputCheckReturn = worldTest.InputCheck(testInput, "GB"); Assert.IsFalse(inputCheckReturn); }
public void InputCheck_CorrectInput_TrueReturn() { var worldTest = new WorldBankCountryAPI(); List <string> testInput = new List <string>(); testInput.Add("GB"); bool inputCheckReturn = worldTest.InputCheck(testInput, "GB"); Assert.IsTrue(inputCheckReturn); }