Skip to content

Commit

Permalink
Running more dungeon factory tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Babis committed Feb 20, 2017
1 parent 22c5530 commit f229b18
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test/EnsureCoverage-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ import RandomMapDungeonFactory from '../src/client/js/app/dungeons/RandomMapDung
import Rogue from '../src/client/js/app/entities/creatures/classes/Rogue.js';



let prng = Random.engines.mt19937();
var seed = Math.random().toString().slice(2);
console.log(`Integration testing with seed: ${seed}`);
prng.seed(seed);
new RandomMapDungeonFactory().getRandomMap(prng, new Rogue());
//Bootstrapper();
for(let i = 0; i < 10; i++) {
const prng = Random.engines.mt19937();
const seed = Math.random().toString().slice(2);
console.log(`Integration testing with seed: ${seed}`);
prng.seed(seed);
new RandomMapDungeonFactory().getRandomMap(prng, new Rogue());
}

0 comments on commit f229b18

Please sign in to comment.