Exemple #1
0
        public void PokeAbs_modifies_the_item_at_offset()
        {
            var uut = new ThreadStack();

            uut.Push(Variable.One);
            uut.Push(2);
            uut.PokeAbs(1, 15);
            var result = uut.PeekAbs(1);

            result.GetInteger().Should().Be(15);
        }