public void DerivedQuoteClass() { // can use a derive Quote class MyQuote myQuote = new MyQuote { Date = DateTime.Now, MyProperty = true }; Assert.AreEqual(true, myQuote.MyProperty); }
public void DerivedQuoteClass() { // can use a derive Quote class MyQuote myQuote = new MyQuote { Index = 0, Date = DateTime.Now, MyProperty = true }; Assert.AreEqual(0, myQuote.Index); }