IoTone / TheShellProject

The Shell Project aims to build a viable general purpose blockchain written in Dlang, with attributes of security, ease of deployment, clear specification, ease of use for DAPPs, and multiple implementation interop
1 stars 1 forks source link

proto2 needs unit tests #3

Closed truedat101 closed 6 years ago

truedat101 commented 6 years ago

Add a simple set of unit tests to each project .d file to incorporate unittest {} blocks. Close this out when we've got 100% coverage.

truedat101 commented 6 years ago

@pedroalvesbatista looks like you have a few build failures:

source\accountcore.d(15,5): Error: empty attribute list is not allowed source\accountcore.d(15,5): Error: use @(attributes) instead of [attributes] source\accountcore.d(16,1): Error: declaration expected, not } source\blockcore.d(66,8): Error: found unittest instead of statement source\blockcore.d(78,1): Error: unrecognized declaration

truedat101 commented 6 years ago

@pedroalvesbatista Before we mark this phase as finished, please add unit tests to anything that is completed in proto2.

davicitoafc commented 6 years ago

@truedat101 You want me to test this or was this an accident?

truedat101 commented 6 years ago

Sorry @davicitoafc accident.

truedat101 commented 6 years ago

Moving out to proto3

truedat101 commented 6 years ago

Mark this as done for proto2