Example #1
0
        public void ShouldIncreaseLowPosition()
        {
            StoragePosition position = new StoragePosition();

            position.Increase(100);
            position.Decrease(50);

            Assert.That(position.Low, Is.EqualTo(50));
        }
Example #2
0
 public void Release(int size)
 {
     position.Decrease(size);
 }