comit-network / baru

GNU General Public License v3.0
4 stars 4 forks source link

Add negative tests for default and dynamic liquidation #74

Open luckysori opened 3 years ago

luckysori commented 3 years ago

With PR #69 we added a few negative tests around the loan repayment. We should the same for default and dynamic liquidation.

Some dynamic liquidation negative assertions already exist, but they are embedded in our public API tests. Perhaps we could move these to our new loan/negative_tests module or at least promote them to actual tests within the /tests directory.