AthleteX-DAO / ax_dapp

frontend UI for AX
https://athletex.io
MIT License
9 stars 6 forks source link

chore: wrote tests for user input norm to verify calculations #880

Closed rbharath99 closed 1 year ago

rbharath99 commented 1 year ago

Description

Wrote tests for user_input_norm.dart. This is to ensure that the calculations match what is expected. It is also important to make sure that no 'value' has been lost when making the transaction (ex: truncation of decimal places, etc.)

Fixes Jira Ticket #

Type of change

Please delete options that are not relevant.

Is this a UI Change? If so please include screenshot of before and after states below

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Checklist: