summaryrefslogtreecommitdiff
path: root/pbt/ts/src/index.test.ts
diff options
context:
space:
mode:
authorArnaud Bailly <arnaud@pankzsoft.com>2025-12-02 09:59:30 +0100
committerArnaud Bailly <arnaud@pankzsoft.com>2025-12-02 09:59:30 +0100
commit03dd55c022c6077b50429b33f2889bbcec9f0435 (patch)
tree7d9942a6f344ed119444672bbd0db850aa34dcd6 /pbt/ts/src/index.test.ts
parent67a318eeb886da7b9917d1809464dfdcb8f4e578 (diff)
downloadlambda-nantes-03dd55c022c6077b50429b33f2889bbcec9f0435.tar.gz
add simple classification
Diffstat (limited to 'pbt/ts/src/index.test.ts')
-rw-r--r--pbt/ts/src/index.test.ts12
1 files changed, 10 insertions, 2 deletions
diff --git a/pbt/ts/src/index.test.ts b/pbt/ts/src/index.test.ts
index b102fe3..f3a51e1 100644
--- a/pbt/ts/src/index.test.ts
+++ b/pbt/ts/src/index.test.ts
@@ -1,5 +1,8 @@
-import {prop_reverse_with_two_lists} from './index';
-import {Property} from './property';
+import {
+ prop_reverse_is_self_inverse,
+ prop_reverse_with_two_lists,
+} from './index';
+import {Property, classify} from './property';
describe('testing lists reversal', () => {
test('reverse of two appended lists is append of each list reversed', async () => {
@@ -8,4 +11,9 @@ describe('testing lists reversal', () => {
);
expect(reverse_append_result.result).toBe('OK');
});
+ test('reverse is self-inverse', async () => {
+ const result = await Property.run(prop_reverse_is_self_inverse);
+ console.log(classify(result));
+ expect(result.result).toBe('OK');
+ });
});