public async void SecurityVerification2Test() { NumericSequenceCalculatorAPIController nscApiController = new NumericSequenceCalculatorAPIController(); var expected = new List<string> { "0", "1", "2", "3", "4", "5", "6", "7" }; var result = await nscApiController.SecurityVerification(expected) as ICollection<string>; CollectionAssert.AreEqual(expected, (List<string>)result); }
public async void SecurityVerification1Test() { NumericSequenceCalculatorAPIController nscApiController = new NumericSequenceCalculatorAPIController(); Assert.AreEqual(null, await nscApiController.SecurityVerification(null)); }