public void CalcularSubTotal() { var cotizacion = new Cotizacion { PrecioMaterial = 1, PrecioTintas = 2, PrecioArte = 3, PrecioPositivo = 4, PrecioMolde = 5, PrecioSolvente = 6, PrecioCorte = 7, PrecioImpresion = 8, Troquel = 9, Doblez = 10, Cuatricromia = 11, Otro = 12.567m, Material = new Material() }; var instance = new Estimator(cotizacion); instance.CalcularSubtotal(); Assert.AreEqual(78.57m, cotizacion.Subtotal); }