public void TestReverseString() { SolutionsCollection sol = new SolutionsCollection(); string TestString = "Lorem"; string ReversedStringValue = "meroL"; Assert.AreEqual(sol.ReverseString(TestString), ReversedStringValue); }
public void TestFindMinPositive() { SolutionsCollection sol = new SolutionsCollection(); int MinPositive = 2; int[] ValuesToTest = new int[] { -1, -99, -98, -92, -97, -95, 1 }; Assert.AreEqual(MinPositive, sol.FindMinPositive(ValuesToTest)); }