Fix issues with #922
This commit is contained in:
1047
test/_30s.js
1047
test/_30s.js
File diff suppressed because it is too large
Load Diff
@ -5,5 +5,5 @@ test('mapNumRange is a Function', () => {
|
||||
expect(mapNumRange).toBeInstanceOf(Function);
|
||||
});
|
||||
test('Maps 5 to the range 0-100 from 0-10', () => {
|
||||
expect(distance(5,0,10,0,100)).toEqual(50);
|
||||
expect(mapNumRange(5,0,10,0,100)).toEqual(50);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user