Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
ab1bb6dd
Unverified
Commit
ab1bb6dd
authored
Apr 14, 2020
by
Aniket
Committed by
GitHub
Apr 14, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update unittesting_examples.md
parent
f7921d54
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
unittesting_examples.md
docs/unittesting_examples.md
+2
-3
No files found.
docs/unittesting_examples.md
View file @
ab1bb6dd
...
@@ -88,7 +88,7 @@ Test contract/program: `Sender_test.sol`
...
@@ -88,7 +88,7 @@ Test contract/program: `Sender_test.sol`
pragma solidity >=0.4.22 <0.7.0;
pragma solidity >=0.4.22 <0.7.0;
import "remix_tests.sol"; // this import is automatically injected by Remix
import "remix_tests.sol"; // this import is automatically injected by Remix
import "remix_accounts.sol";
import "remix_accounts.sol";
import "./
s
ender.sol";
import "./
S
ender.sol";
// Inherit 'Sender' contract
// Inherit 'Sender' contract
contract SenderTest is Sender {
contract SenderTest is Sender {
...
@@ -326,4 +326,4 @@ contract ValueTest{
...
@@ -326,4 +326,4 @@ contract ValueTest{
Assert.equal(v.getTokenBalance(), 30, 'token balance should be 30');
Assert.equal(v.getTokenBalance(), 30, 'token balance should be 30');
}
}
}
}
```
```
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment