Example #1
0
        public void QuatationPrice_WithoutExtraStorage_GivesCorrectNumberOfCars()
        {
            // arrange
            _quotation.LivingArea       = 50;
            _quotation.ExtraStorageArea = 0;
            var expected = 2;

            // act
            var actual = _quotation.GetNumberOfCars();

            // assert
            Assert.AreEqual(expected, actual);
        }