Ejemplo n.º 1
0
        public void TestGetUnitPricesReturnTwoDecimal()
        {
            ProvidedServiceCrud _sut = new ProvidedServiceCrud();
            int expected             = 2;
            int actual = _sut.GetUnitPrices().Count;

            Assert.AreEqual(expected, actual);
        }
Ejemplo n.º 2
0
        public void TestGetUnitPricesReturnListOfDecimal()
        {
            ProvidedServiceCrud _sut = new ProvidedServiceCrud();
            var  prices   = _sut.GetUnitPrices();
            Type actual   = prices[0].GetType();
            Type expected = typeof(decimal);

            Assert.AreEqual(expected, actual);
        }