コード例 #1
0
        public void AddCommonStockTest()
        {
            var stockCommon = new CommonStock {
                symbol = "POP", lastDividend = 8, parValue = 100
            };

            exchangeStock.AddStock(stockCommon);
            Assert.AreEqual(stockCommon, exchangeStock.GetStockBySymbol("POP"));
        }