Beispiel #1
0
        public void CanCleanState()
        {
            Shots shots = new Shots();
            shots.Add(new Shot());

            shots.Clean();

            Assert.IsFalse(shots.IsDirty);
        }
Beispiel #2
0
        public void ReturnsCorrectDiff()
        {
            Shots shots = new Shots();
            shots.Add(new Shot());
            shots.Clean();

            shots.Add(new Shot());
            shots.Add(new Shot());

            Assert.AreEqual(2, shots.GetDiff().Count);
        }