File tree Expand file tree Collapse file tree 2 files changed +0
-5
lines changed
src/test/java/com/thealgorithms/compression Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change 216216 <Match >
217217 <Bug pattern =" UTAO_JUNIT_ASSERTION_ODDITIES_INEXACT_DOUBLE" />
218218 </Match >
219- <Match >
220- <Bug pattern =" UTAO_JUNIT_ASSERTION_ODDITIES_IMPOSSIBLE_NULL" />
221- </Match >
222219 <!-- find-sec-bugs -->
223220 <Match >
224221 <Bug pattern =" PREDICTABLE_RANDOM" />
Original file line number Diff line number Diff line change 11package com .thealgorithms .compression ;
22
33import static org .junit .jupiter .api .Assertions .assertEquals ;
4- import static org .junit .jupiter .api .Assertions .assertNotNull ;
54import static org .junit .jupiter .api .Assertions .assertTrue ;
65
76import java .util .List ;
@@ -286,7 +285,6 @@ void testTokenStructure() {
286285 // All tokens should have valid indices (>= 0)
287286 for (LZ78 .Token token : compressed ) {
288287 assertTrue (token .index () >= 0 );
289- assertNotNull (token .nextChar ());
290288 }
291289
292290 String decompressed = LZ78 .decompress (compressed );
You can’t perform that action at this time.
0 commit comments