From 208fd364a9a8bdc0e12993ace4f1829303548476 Mon Sep 17 00:00:00 2001 From: Arnaud Bailly Date: Sat, 15 Nov 2025 09:18:12 +0100 Subject: [pbt] configure running tests w/ jest --- pbt/ts/src/index.test.ts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 pbt/ts/src/index.test.ts (limited to 'pbt/ts/src/index.test.ts') diff --git a/pbt/ts/src/index.test.ts b/pbt/ts/src/index.test.ts new file mode 100644 index 0000000..deb55ec --- /dev/null +++ b/pbt/ts/src/index.test.ts @@ -0,0 +1,9 @@ +import Prando from 'prando'; +import { prop_reverse_with_two_lists } from './index'; + +describe('testing lists reversal', () => { + test('reverse of two appended lists is append of each list reversed', () => { + let reverse_append_result = prop_reverse_with_two_lists(new Prando(Math.random() * 1000), 0); + expect(reverse_append_result).toBe(true); + }); +}); -- cgit v1.3.1