You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently MsgSupply, MsgWithdraw, MsgRepay, and MsgLiquidate have tests in keeper_test.go which check their return values against expected values.
These tests could be improved by making them case-based (and increasing the number of situations covered) as well as checking the consistency of the returned values (e.g. collateral received) against actual changes in balances, to catch any scenarios where the effects of a transaction do not match its reported returns.
The text was updated successfully, but these errors were encountered:
Currently
MsgSupply
,MsgWithdraw
,MsgRepay
, andMsgLiquidate
have tests inkeeper_test.go
which check their return values against expected values.These tests could be improved by making them case-based (and increasing the number of situations covered) as well as checking the consistency of the returned values (e.g. collateral received) against actual changes in balances, to catch any scenarios where the effects of a transaction do not match its reported returns.
The text was updated successfully, but these errors were encountered: