Beispiel #1
0
        public static void TestUseCase2()
        {
            var dc1 = new DerivedClass2();
            dc1.AddValue(5);

            Assert.AreEqual(dc1.GetValues().Count, 1, "Bridge522 dc1.Count = 1");

            var dc2 = new DerivedClass2();
            Assert.AreEqual(dc2.GetValues().Count, 0, "Bridge522 dc2.Count = 0");
        }
Beispiel #2
0
        public static void TestUseCase2()
        {
            var dc1 = new DerivedClass2();

            dc1.AddValue(5);

            Assert.AreEqual(1, dc1.GetValues().Count, "Bridge522 dc1.Count = 1");

            var dc2 = new DerivedClass2();

            Assert.AreEqual(0, dc2.GetValues().Count, "Bridge522 dc2.Count = 0");
        }
Beispiel #3
0
        public static void TestUseCase2(Assert assert)
        {
            assert.Expect(2);

            var dc1 = new DerivedClass2();

            dc1.AddValue(5);

            assert.Equal(dc1.GetValues().Count, 1, "Bridge522 dc1.Count = 1");

            var dc2 = new DerivedClass2();

            assert.Equal(dc2.GetValues().Count, 0, "Bridge522 dc2.Count = 0");
        }