コード例 #1
0
        public void EligibleClaimAmountTest()
        {
            policyController pol = new policyController();
            int amt = pol.getEligibleClaimAmount(1, 2, 1);

            Assert.AreEqual(100, amt);
        }
コード例 #2
0
        public void EligibleBenefitTest()
        {
            policyController pol = new policyController();
            List <int>       a   = pol.GetEligibleBenefits(1, 1);

            Assert.AreEqual(4, a.Count);
        }