virtualeconomy / v-systems

V Systems Reference Full Node
Other
115 stars 45 forks source link

Contract/v stable swap unit test #284

Closed twwu123 closed 3 years ago

twwu123 commented 3 years ago

PR Details

Add unit tests for the v stable swap contract

Checklist

codecov-commenter commented 3 years ago

Codecov Report

Merging #284 (046c0a0) into exchange (17501fa) will increase coverage by 3.18%. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##           exchange     #284      +/-   ##
============================================
+ Coverage     59.70%   62.88%   +3.18%     
============================================
  Files           207      207              
  Lines          7326     7329       +3     
  Branches        270      255      -15     
============================================
+ Hits           4374     4609     +235     
+ Misses         2952     2720     -232     
Impacted Files Coverage Δ
...main/scala/vsys/blockchain/contract/Contract.scala 86.04% <100.00%> (+0.16%) :arrow_up:
...vsys/blockchain/contract/ContractVStableSwap.scala 100.00% <100.00%> (+100.00%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 17501fa...046c0a0. Read the comment docs.