summaryrefslogtreecommitdiff
path: root/pbt/ts/src/index.test.ts
diff options
context:
space:
mode:
authorArnaud Bailly <arnaud@pankzsoft.com>2025-11-15 09:18:12 +0100
committerArnaud Bailly <arnaud@pankzsoft.com>2025-11-15 09:18:12 +0100
commit208fd364a9a8bdc0e12993ace4f1829303548476 (patch)
tree9b5dded57b4b09a2a1ee64e04aeb5edbbd5f1cff /pbt/ts/src/index.test.ts
parente656098a35ee9cc0bc86729d2ebbbb13047ad61d (diff)
downloadlambda-nantes-208fd364a9a8bdc0e12993ace4f1829303548476.tar.gz
[pbt] configure running tests w/ jest
Diffstat (limited to 'pbt/ts/src/index.test.ts')
-rw-r--r--pbt/ts/src/index.test.ts9
1 files changed, 9 insertions, 0 deletions
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);
+ });
+});