コード例 #1
0
        public void BankNoteIsAIBankNote()
        {
            //Arrange
            BankNote bn = new USDollarBill(); //Do I need an subclass to test this?

            //Act

            //Assert
            Assert.IsInstanceOfType(bn, typeof(IBankNote));
        }
コード例 #2
0
 public USBankNoteTests()
 {
     dollar = new USDollarBill();
 }