public void TestShowOutput() { var objBrainmessInterpreter = new Program { tapememory = new short[Constant.MemoryLength] }; objBrainmessInterpreter.tapememory[0] = Convert.ToInt16(82); objBrainmessInterpreter.ShowOutput(); Assert.AreEqual("R", objBrainmessInterpreter.output); }