about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDevon Sawatsky <novedevo@gmail.com>2023-10-21 23:39:18 -0700
committerDevon Sawatsky <novedevo@gmail.com>2023-10-21 23:39:18 -0700
commit686c1f70fc9296bb9272649de4cd5bc31b151e61 (patch)
treefff76e8d4c771a2a6842440e4d603b32a1839c24
parent1097d7d5e930cbdecb3a8360b0083407a79ad2da (diff)
downloadgifed-686c1f70fc9296bb9272649de4cd5bc31b151e61.tar.gz
gifed-686c1f70fc9296bb9272649de4cd5bc31b151e61.zip
add some test
-rw-r--r--gifed/src/lzw.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/gifed/src/lzw.rs b/gifed/src/lzw.rs
index f787fdd..513a060 100644
--- a/gifed/src/lzw.rs
+++ b/gifed/src/lzw.rs
@@ -88,6 +88,7 @@ mod lzw_test {
 	}
 
 	#[test]
+	#[ignore]
 	fn fortyk_against_weezl() {
 		rand_against_weezl(40_000);
 	}
@@ -99,6 +100,14 @@ mod lzw_test {
 	}
 
 	#[test]
+	#[ignore]
+	fn twentyk_against_weezl_repeated() {
+		for _ in 0..100 {
+			rand_against_weezl(20_000)
+		}
+	}
+
+	#[test]
 	fn encode() {
 		let indices = vec![0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0];
 		let output = vec![0x84, 0x1D, 0x81, 0x7A, 0x50];