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.
18 lines
618 B
18 lines
618 B
const { shouldBehaveLikeERC721BasicToken } = require('./ERC721BasicToken.behavior');
|
|
const { shouldBehaveLikeMintAndBurnERC721Token } = require('./ERC721MintBurn.behavior');
|
|
|
|
const BigNumber = web3.BigNumber;
|
|
const ERC721BasicToken = artifacts.require('ERC721BasicTokenMock.sol');
|
|
|
|
require('chai')
|
|
.use(require('chai-bignumber')(BigNumber))
|
|
.should();
|
|
|
|
contract('ERC721BasicToken', function (accounts) {
|
|
beforeEach(async function () {
|
|
this.token = await ERC721BasicToken.new({ from: accounts[0] });
|
|
});
|
|
|
|
shouldBehaveLikeERC721BasicToken(accounts);
|
|
shouldBehaveLikeMintAndBurnERC721Token(accounts);
|
|
});
|
|
|