/// Test that we credit a client the right amount.
Test that we credit a client the right amount.
Test that we credit a client the right amount .
fn credit() {
        let mut client = base_client();
        client.credit(1.88889);
        assert_eq!(client.available_balance(), 1.88889);
        assert_eq!(client.total_balance(), 1.88889);
    }
fn credit ( ) { let mut client = base_client ( ) ; client . credit ( 1.88889 ) ; assert_eq ! ( client available_balance ( ) 1.88889 ) ; assert_eq ! ( client total_balance ( ) 1.88889 ) ; }
Test that we credit a client the right amount.
Test that we credit a client the right amount .