Fix issues with #922

This commit is contained in:
Angelos Chalaris
2019-02-23 12:47:03 +02:00
parent 1a11040313
commit 9c607d00f2
8 changed files with 3860 additions and 3830 deletions

View File

@ -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);
});