using System; using System.Collections.Generic; using System.Text; using UnitTestSharp; using Sunweaver.Commands.Abstracts; using Sunweaver.Commands; using Sunweaver.DataPrototypes; namespace Sunweaver.UnitTests.Commands { public class FalseTest : TestFixture { BasePair bp = new False(); VirtualMachine VM = new VirtualMachine(); public void PushesCorrectValueOntoStack() { bp.Implementation(VM); CheckEqual((long)1, VM.BoolStack.Count()); CheckFalse( VM.BoolStack.Pop()); } public void Name() { CheckEqual("false", bp.ToString()); } } }