public void Assignment1_TestDerivedClassShirts_ReturnTrue() { bool myresult = false; Shirts shirt = new Shirts(92321344, "shirts", "Shirt", 1234); if (shirt.GetType() == typeof(Shirts)) { myresult = true; } Assert.IsTrue(myresult, "My shirt is of type shirt."); }
public string WhatIsYourClothToday() { return($"my cloth today is red {_shirts.GetType().Name} and blue {_pants.GetType().Name}"); }