@@ -157,10 +157,12 @@ fn transfer_tokens() {
157
157
println ! ( "minting return data {:#?}" , & ret_val) ;
158
158
let mint_result: MintReturn = ret_val. msg_receipt . return_data . deserialize ( ) . unwrap ( ) ;
159
159
println ! ( "minted - total supply: {:?}" , & mint_result. supply) ;
160
+ assert_eq ! ( mint_result. supply, TokenAmount :: from_atto( 100 ) ) ;
160
161
161
162
// check balance of transfer actor
162
163
let balance = tester. check_balance ( operator[ 0 ] . 1 , token_address, transfer_address) ;
163
164
println ! ( "balance held by transfer actor: {:?}" , balance) ;
165
+ assert_eq ! ( balance, TokenAmount :: from_atto( 100 ) ) ;
164
166
165
167
// forward from transfer to receiving actor
166
168
let params = RawBytes :: serialize ( receiver_address) . unwrap ( ) ;
@@ -171,7 +173,9 @@ fn transfer_tokens() {
171
173
// check balance of receiver actor
172
174
let balance = tester. check_balance ( operator[ 0 ] . 1 , token_address, transfer_address) ;
173
175
println ! ( "balance held by transfer actor: {:?}" , balance) ;
176
+ assert_eq ! ( balance, TokenAmount :: from_atto( 0 ) ) ;
174
177
175
178
let balance = tester. check_balance ( operator[ 0 ] . 1 , token_address, receiver_address) ;
176
179
println ! ( "balance held by receiver actor: {:?}" , balance) ;
180
+ assert_eq ! ( balance, TokenAmount :: from_atto( 100 ) ) ;
177
181
}
0 commit comments