Пример #1
0
            public void Equal_To_Another()
            {
                var damage = new Damage(1, 2);
                var other  = new Damage(1, 2);

                Assert.That(damage, Is.EqualTo(other));
            }
Пример #2
0
            public void Can_Be_Reverse_Multiplied_By_Const()
            {
                var damage = new Damage(1, 2);

                Assert.That(2 * damage, Is.EqualTo(new Damage(2, 4)));
            }