Beispiel #1
0
 public void TestStaticClasses()
 {
     Assert.That(TestStaticClass.Add(1, 2), Is.EqualTo(3));
     Assert.That(TestStaticClass.OneTwoThree, Is.EqualTo(123));
     Assert.That(TestStaticClassDerived.Foo(), Is.EqualTo(0));
     TestNotStaticClass.StaticFunction();
 }
 public void TestStaticClasses()
 {
     Assert.That(TestStaticClass.Add(1, 2), Is.EqualTo(3));
     Assert.That(TestStaticClassDerived.Foo(), Is.EqualTo(0));
 }