Skip to content

Commit 8657b02

Browse files
committed
TEST: encloak/decloak
related to: Oldes/Rebol-issues#48
1 parent e8bf99c commit 8657b02

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/tests/units/compress-test.r3

+10
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,16 @@ data: "test test test"
119119
]
120120
===end-group===
121121

122+
===start-group=== "ENCLOAK/DECLOAK"
123+
--test-- "issue-48"
124+
;@@ https://github.com/Oldes/Rebol-issues/issues/48
125+
--assert (a: compress "a") = #{789C4B04000062006201000000}
126+
--assert (b: encloak a "a") = #{2DD7F778DDDD45E040016E2B5E}
127+
--assert (c: decloak b "a") = #{789C4B04000062006201000000}
128+
--assert (d: decompress c ) = #{61}
129+
130+
===end-group===
131+
122132

123133

124134
~~~end-file~~~

0 commit comments

Comments
 (0)