summaryrefslogtreecommitdiff
path: root/pbt/ts/src/index.test.ts
diff options
context:
space:
mode:
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);
+ });
+});