You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
618 B
20 lines
618 B
7 years ago
|
import shouldBehaveLikeERC721BasicToken from './ERC721BasicToken.behaviour';
|
||
|
import shouldMintAndBurnERC721Token from './ERC721MintBurn.behaviour';
|
||
|
|
||
|
const BigNumber = web3.BigNumber;
|
||
|
const ERC721BasicToken = artifacts.require('ERC721BasicTokenMock.sol');
|
||
|
|
||
|
require('chai')
|
||
|
.use(require('chai-as-promised'))
|
||
|
.use(require('chai-bignumber')(BigNumber))
|
||
|
.should();
|
||
|
|
||
|
contract('ERC721BasicToken', function (accounts) {
|
||
|
beforeEach(async function () {
|
||
|
this.token = await ERC721BasicToken.new({ from: accounts[0] });
|
||
|
});
|
||
|
|
||
|
shouldBehaveLikeERC721BasicToken(accounts);
|
||
|
shouldMintAndBurnERC721Token(accounts);
|
||
|
});
|