Skip to content

Human Resource Machine inbox generator for testing and benchmarking solutions

Notifications You must be signed in to change notification settings

atesgoral/hrm-level-inbox-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm Build and Deploy

hrm-level-inbox-generator

Human Resource Machine inbox generator for testing and benchmarking solutions.

Generates a random inbox that is appropriate for a given level.

Methods

.generate(levelNumber)

levelNumber - Number. The level number (1-41).

returns - Array. If the generator doesn't support the given level, a null is returned.

.seed(seed)

seed - Number. Seeds the random number generator to consistently get the same inbox configurations on subsequent .generate() calls.

Example

var generator = require('hrm-level-inbox-generator');

// Tripler Room
var inbox = generator.generate(8); // [ 2, 4, 0, -5 ]

About

Human Resource Machine inbox generator for testing and benchmarking solutions

Resources

Stars

Watchers

Forks

Packages

No packages published