mirror of
https://github.com/hanzoai/core-js.git
synced 2026-09-24 16:58:15 +00:00
9 lines
337 B
JavaScript
9 lines
337 B
JavaScript
QUnit.test('Math.DEG_PER_RAD', assert => {
|
|
const { DEG_PER_RAD, PI } = Math;
|
|
assert.true('DEG_PER_RAD' in Math, 'DEG_PER_RAD in Math');
|
|
assert.nonEnumerable(Math, 'DEG_PER_RAD');
|
|
assert.nonConfigurable(Math, 'DEG_PER_RAD');
|
|
assert.nonWritable(Math, 'DEG_PER_RAD');
|
|
assert.same(DEG_PER_RAD, PI / 180, 'Is Math.PI / 180');
|
|
});
|