Created
March 1, 2020 06:10
-
-
Save arkhaminferno/375f52c140694076d9161695bd22ace0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const assert = require('assert'); | |
const TournamentContract = artifacts.require('./TournamentContract.sol'); | |
before(async() =>{ | |
tournament = await TournamentContract.deployed(); | |
}); | |
describe("Testing Create Tournament function", () => { | |
it("should return true after tournaments being created.", () => { | |
const input = [ | |
[ 'The very first Tournament', 'Type 1',[4,1],0 ]; | |
}); | |
const output = ['The very first Tournament', 'Type 1',[4,1],0]; | |
assert.equal(createTournament(),true); | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment