UNPKG

moy-fp

Version:
18 lines (15 loc) 291 B
import __ from '../../src/Function/__' /** * Number -> Number -> Number */ import subtract from '../../src/Math/subtract' test('subtract(not using __)', () => { expect( subtract(1)(2) ).toBe(1) }) test('subtract(using __', () => { expect( subtract(__, 2)(1) ).toBe(1) })