deno.land / x / simplestatistics@v7.8.3 / test / z_score.test.js
12345678910111213/* eslint no-shadow: 0 */
const test = require("tap").test;const ss = require("../dist/simple-statistics.js");
// The zScore method is also tested in the normal distribution tests.test("zScore", function (t) { t.equal(ss.zScore(78, 80, 5), -0.4); t.equal(ss.zScore(78, 90, 5), -2.4); t.equal(ss.zScore(78, 90, 2), -6); t.end();});
Version Info