Unverified Commit ab1bb6dd authored by Aniket's avatar Aniket Committed by GitHub

Update unittesting_examples.md

parent f7921d54
...@@ -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 "./sender.sol"; import "./Sender.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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment