I am a newbie to unit testing. How do I check the for console output? I have
namespace XXShapes { public abstract class XXShape { public virt
That's not at all what you'd do.
In your test you will typically check for the state of the object, with something like:
Assert.IsTrue(foo.Field, Equals, "hello")
Depending on how your chosen framework works. So you'll need to change your approach, in general, to conform to this model.