コード例 #1
0
        public void DeveCalcularPontosPorQtdDependentesErrado()
        {
            Model.Familia familia = gerarFamiliaTeste();

            Assert.AreNotEqual(0, familia.calculaPontosPorQtdDependentes());
        }
コード例 #2
0
        public void DeveCalcularPontosPorQtdDependentesCorretamente()
        {
            Model.Familia familia = gerarFamiliaTeste();

            Assert.AreEqual(2, familia.calculaPontosPorQtdDependentes());
        }