コード例 #1
0
        public void Test_New_InitBase()
        {
            // given
            string result = "A";

            // when
            A ab2 = new B2();

            // then
            Assert.AreSame(result, ab2.Print());
        }
コード例 #2
0
        public void Test_New()
        {
            // given
            string result = "B2";

            // when
            B2 b2 = new B2();

            // then
            Assert.AreSame(result, b2.Print());
        }