* reformatting of skill checks table

* Including own Random "generator", more refactoring
This commit is contained in:
2021-04-22 17:36:10 +02:00
committed by GitHub
parent cc8387256a
commit 126dce828d
14 changed files with 127 additions and 208 deletions

View File

@ -0,0 +1,12 @@
const {CalculateQuality} = require('@dsabot/CalculateQuality');
const TestValues = [
[1,1], [2,1], [3,1],
[4,2], [5,2], [6,2],
[7,3], [8,3], [9,3],
[10,4],[11,4],[12,4],
[13,5],[14,5],[15,5]
];
test.each(TestValues)('Retrieving Quality for %s', (input, output) => {
expect(CalculateQuality(input)).toBe(output);
});