public void DerivedClass() { CopyrightInfo info = new CopyleftInfo(true, "Free Company, Inc.", 96, 97, 98, 2005); Assert.AreEqual("Copyleft (C) '96, '97, '98, 2005 Free Company, Inc.", info.ToString()); }
public void Derived_class() { var info = new CopyleftInfo(true, "Free Company, Inc.", 96, 97, 98, 2005); info.ToString().Should().Be("Copyleft (C) '96, '97, '98, 2005 Free Company, Inc."); }
public void DerivedClass() { var info = new CopyleftInfo(true, "Free Company, Inc.", 96, 97, 98, 2005); Assert.AreEqual("Copyleft (C) '96, '97, '98, 2005 Free Company, Inc.", info.ToString()); }