Lambda calculus-like library written in TypeScript.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import { describe, expect, test } from '@jest/globals';
|
|
import { id } from '../src/core';
|
|
|
|
describe('id', () => {
|
|
test('returns same value', () => {
|
|
expect(id(null)).toBe(null);
|
|
expect(id(1)).toBe(1);
|
|
expect(id(global)).toBe(global);
|
|
});
|
|
});
|
|
|