Exemple #1
0
        public static void ClassInitialize(TestContext testContext)
        {
            Debug.WriteLine("ClassInitialize");

            var item = new _001_ShopingCard.Item();

            item.Name     = "Page";
            item.Quantity = 2;

            card = new _001_ShopingCard();
            card.Add(item);

            card.Add(new _001_ShopingCard.Item()
            {
                Name     = "Page3",
                Quantity = 3
            });
        }
        public void TestInitialize()
        {
            Debug.WriteLine("TestInitialize");

            item          = new _001_ShopingCard.Item();
            item.Name     = "Page";
            item.Quantity = 2;

            card = new _001_ShopingCard();
            card.Add(item);
        }