Skip to content

Commit

Permalink
we appear to have merged in an extra test.. interesting
Browse files Browse the repository at this point in the history
  • Loading branch information
clux committed Jul 25, 2014
1 parent 6935507 commit 5da77cd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions test/ffa.from.test.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
var tap = require('tap')
, test = tap.test
, $ = require('interlude')
, FFA = require('../');
var $ = require('interlude')
, FFA = require(process.env.FFA_COV ? '../ffa-cov.js' : '../');

test("FFA -> FFA -> FFA", function (t) {
exports.FFAtoFFA = function (t) {
var f1 = new FFA(16);
var m1 = f1.matches[0];
f1.score(m1.id, $.range(16));
Expand Down Expand Up @@ -32,5 +30,5 @@ test("FFA -> FFA -> FFA", function (t) {
var f3 = FFA.from(f2, 4);
t.deepEqual(f3.players(), [13,14,15,16], "top 4 progressed to f3");

t.end();
});
t.done();
};
2 changes: 1 addition & 1 deletion test/ffa.unfinished.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var $ = require('interlude')
, FFA = require(process.env.FFA_COV ? '../ffa-cov.js' : '../');
, FFA = require(process.env.FFA_COV ? '../ffa-cov.js' : '../');

exports.unfinishedFiveFiveLimited = function (t) {
var opts = { sizes: [5], limit: 4 };
Expand Down

0 comments on commit 5da77cd

Please sign in to comment.