Test cleanup and fixes [q-r]
This commit is contained in:
@ -1,12 +1,9 @@
|
||||
const expect = require('expect');
|
||||
const radsToDegrees = require('./radsToDegrees.js');
|
||||
|
||||
|
||||
test('radsToDegrees is a Function', () => {
|
||||
test('radsToDegrees is a Function', () => {
|
||||
expect(radsToDegrees).toBeInstanceOf(Function);
|
||||
});
|
||||
test('Returns the appropriate value', () => {
|
||||
expect(radsToDegrees(Math.PI / 2), 90).toBe()
|
||||
test('Returns the appropriate value', () => {
|
||||
expect(radsToDegrees(Math.PI / 2)).toBe(90);
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user