Example #1
0
        public void Fees_GetAmount()
        {
            double amt = _defaultFeeAmt * _rand.NextDouble();
            Fee    fee = CreateSingleFee(MethodBase.GetCurrentMethod().Name, amt, true, true);

            Assert.AreEqual(-1, Fees.GetAmount(_listProcCodes.Last().CodeNum, fee.FeeSched, fee.ClinicNum, fee.ProvNum));
            Assert.AreEqual(fee.Amount, Fees.GetAmount(fee.CodeNum, fee.FeeSched, fee.ClinicNum, fee.ProvNum), _precision);
        }