'Assert that inputs are correctly rounded up to the nearest penny.'

def test_get_refund_amount_rounding(self):

    self.campaign.refund_amount = 1e-08
    refund_amount = get_refund_amount(self.campaign, self.billable_amount)
    self.assertEquals(refund_amount, self.billable_amount)
    self.campaign.refund_amount = 0.00999999
    refund_amount = get_refund_amount(self.campaign, self.billable_amount)
    self.assertEquals(refund_amount, self.billable_amount)
    self.campaign.refund_amount = 0.01000001
    refund_amount = get_refund_amount(self.campaign, self.billable_amount)
    self.assertEquals(refund_amount, (self.billable_amount - 0.01))
    self.campaign.refund_amount = 0.01999999
    refund_amount = get_refund_amount(self.campaign, self.billable_amount)
    self.assertEquals(refund_amount, (self.billable_amount - 0.01))
