rwwagner90/ember-math-helpers

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

Summary

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

module('Unit | Helper | logE', function () {
  test('logE works', function (assert) {
    const result = logE([0.5]);
    assert.strictEqual(Number(result.toFixed(3)), -0.693);
  });
});