public void CountTest() { Class1 target = new Class1(); const int expected = 10; int actual = target.Count(); Assert.AreEqual(expected, actual); }
public void GetListTest() { Class1 target = new Class1(); IList<string> expected = new List<string>{"a","b","c"}; IList<string> actual = target.GetList(); Assert.AreEqual(expected[0], actual[0]); }
public void Class1ConstructorTest() { Class1 target = new Class1(); Assert.IsInstanceOfType(target, typeof(Class1)); }