Commit Graph

36 Commits

Author SHA1 Message Date
Andy Tudhope 5ff657e5a2
Update test comment 2019-04-12 15:42:49 +02:00
Andy Tudhope 85ce59cf9a
Updates test for metadata 2019-04-12 11:47:58 +02:00
Andy Tudhope 800ad2270e
storing ipfs hash in bytes32 hash and changed receiveApproval (#23) 2019-04-12 11:40:24 +02:00
Andy Tudhope 849787cb71
Comment last test 2019-04-11 17:31:07 +02:00
Andy Tudhope 8079458531
Comment last test 2019-04-11 17:28:49 +02:00
Andy Tudhope 55ad0385ce
Adds overflow test and better protection given limitations 2019-04-11 17:24:53 +02:00
Andy Tudhope afc8adb22c
Adds overflow test and better protection given limitations 2019-04-11 17:15:40 +02:00
Andy Tudhope 2889281dbb
All curve formula tests passing 2019-04-11 13:06:51 +02:00
Andy Tudhope 95715458ea
Still issues with BN decimals in tests 2019-04-10 22:39:38 +02:00
Andy Tudhope 20e0fd61c5
Adds metadata & update field for Add a DApp screens 2019-04-10 21:26:21 +02:00
Andy Tudhope 3609bf9d6a
Working Embark tests for most of BancorFormula 2019-04-10 19:43:53 +02:00
Andy Tudhope 9cd3abd939
Adds protection against DApps with same id 2019-04-10 15:18:08 +02:00
Andy Tudhope 2e384b8188
Emulate teller-network, coverage still failing 2019-04-10 11:00:08 +02:00
Andy Tudhope 9216468a32
Try get embark coverage working WIP 2019-04-10 10:33:01 +02:00
Andy Tudhope b09a5f9e95
Slither and solium together 2019-04-10 01:19:11 +02:00
Andy Tudhope 5e3c5ab0ac
Updates tests after solium linting changes 2019-04-09 23:06:07 +02:00
Andy Tudhope 69a369a2bb
Adds first tests for BancorFormula - WIP 2019-04-09 21:01:57 +02:00
Andy Tudhope 5a03d56ae5
Adds first tests for BancorFormula - WIP 2019-04-09 20:58:02 +02:00
Andy Tudhope 1430162a44
Cover behaviour after withdrawals 2019-04-09 18:31:22 +02:00
Andy Tudhope 1de44773cd
Change order of asserts and add more coverage to upvotes when votes_cast > 0 2019-04-09 17:57:07 +02:00
Andy Tudhope 82bb4751f9
Use Math.ceil() to overcome rounding & precision issues 2019-04-09 17:13:02 +02:00
Andy Tudhope 25efb90aa3
Assert fails in tests, more downvote checks 2019-04-09 17:07:45 +02:00
Andy Tudhope 6ea2cc1813
Readability & cleanup 2019-04-09 16:25:58 +02:00
Andy Tudhope 851ebcf6ec
Readability & cleanup 2019-04-09 16:21:40 +02:00
Andy Tudhope 77d5e12861
Readability & cleanup 2019-04-09 15:44:23 +02:00
Andy Tudhope 7d47f5ce9e
More generalisable balance calcs 2019-04-09 15:31:26 +02:00
Andy Tudhope 674255caa6
Add test for second downvote 2019-04-09 14:46:19 +02:00
Andy Tudhope 8a47293af9
Withdraw fails and more generalisable numbers 2019-04-09 14:38:27 +02:00
Andy Tudhope ccbec568c1
Adds tests for upvoteEffect and Withdraw 2019-04-09 12:21:23 +02:00
Andy Tudhope 753c23b3ce
Tests upvotes with votes already cast, checks SNT sends 2019-04-09 10:33:00 +02:00
Andy Tudhope d3b634e57e
Change downvote transfer so tests work 2019-04-09 09:16:48 +02:00
Andy Tudhope 037805bacc
Minor updates 2019-04-08 23:50:00 +02:00
Andy Tudhope 4a2e3f8f6e
More tests, WIP 2019-04-08 22:11:06 +02:00
Andy Tudhope 73400ff3ac
More tests, WIP 2019-04-08 21:22:45 +02:00
Andy Tudhope bb6535becb
Begin testing 2019-04-08 19:28:36 +02:00
Andy Tudhope 38928ead32
Include Embark and .sol contracts 2019-04-08 16:46:14 +02:00