Exemplo n.º 1
0
 public void CountTest()
 {
     Class1 target = new Class1();
     const int expected = 10;
     int actual = target.Count();
     Assert.AreEqual(expected, actual);
 }
Exemplo n.º 2
0
 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]);
 }
Exemplo n.º 3
0
 public void Class1ConstructorTest()
 {
     Class1 target = new Class1();
     Assert.IsInstanceOfType(target, typeof(Class1));
 }