Created
September 8, 2017 16:27
-
-
Save mcdee/8e4d34f1e997d3ad1860312c901ecfc9 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
'use strict'; | |
const Reservation = artifacts.require('./Reservation.sol'); | |
contract('Reservation', accounts => { | |
var instance; | |
it('works', async function() { | |
instance = await Reservation.new(1564555780, 1, 2, 1600000000, 200000000); | |
var fee = await instance.amountPerGuest(); | |
assert.equal(fee.toString(), web3.toWei(800, 'mwei')); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment