deno.land / x / rambda@v9.1.1 / source / max.spec.js

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
import { max } from './max.js'
test('with number', () => { expect(max(2, 1)).toBe(2)})
test('with string', () => { expect(max('foo')('bar')).toBe('foo') expect(max('bar')('baz')).toBe('baz')})
rambda

Version Info

Tagged at
2 months ago