rg-stats
Version:
A library for calculating various rhythm game stats.
31 lines (25 loc) • 1.69 kB
JavaScript
/* IMPORTANT
* This snapshot file is auto-generated, but designed for humans.
* It should be checked into source control and tracked carefully.
* Re-generate by setting TAP_SNAPSHOT=1 and running tests.
* Make sure to inspect the output below. Do not ignore changes!
*/
'use strict'
exports[`src/algorithms/popn-classpoints.test.ts TAP Pop'n Class Points Validation Tests > Should throw if chart level is negative. 1`] = `
Invalid input, Chart level cannot be negative. level=-1.
`
exports[`src/algorithms/popn-classpoints.test.ts TAP Pop'n Class Points Validation Tests > Should throw if lamp is invalid. 1`] = `
Unknown lamp of FOO passed to pop'n Class Points calculations. Expected any of FAILED, EASY CLEAR, CLEAR, FULL COMBO, PERFECT.
`
exports[`src/algorithms/popn-classpoints.test.ts TAP Pop'n Class Points Validation Tests > Should throw if score is > 100k. 1`] = `
Invalid input, Score cannot be better than 100k. score=100001.
`
exports[`src/algorithms/popn-classpoints.test.ts TAP Pop'n Class Points Validation Tests > Should throw if score is negative. 1`] = `
Invalid input, Score cannot be negative. score=-1.
`
exports[`src/algorithms/popn-classpoints.test.ts TAP Pop'n Inverse Class Points Validation Tests > Should throw if chart level is negative. 1`] = `
Invalid input, Chart level cannot be negative. level=-1.
`
exports[`src/algorithms/popn-classpoints.test.ts TAP Pop'n Inverse Class Points Validation Tests > Should throw if the provided class points are impossible to achieve given the other constraints. 1`] = `
Invalid input, 9000 class points is not achievable on a chart with level 1 and lamp FAILED. classPoints=9000, level=1, lamp="FAILED".
`