rwwagner90/ember-math-helpers

View on GitHub
test-app/tests/unit/helpers/hypot-test.js

Summary

Maintainability
A
0 mins
Test Coverage
import { hypot } from 'ember-math-helpers/helpers/hypot';
import { module, test } from 'qunit';

module('Unit | Helper | hypot', function () {
  test('hypot works', function (assert) {
    const result = hypot([3, 4, 5]);
    assert.strictEqual(result, 7.0710678118654755);
  });
});