mitiko / BWDPerf

BWD stands for Best Word Dictionary as it has the ability to be an optimal dictionary coder.
https://mitiko.github.io/BWDPerf
GNU General Public License v3.0
0 stars 1 forks source link

Write assertions #34

Open mitiko opened 3 years ago

mitiko commented 3 years ago

There are plenty of places where the code makes assumptions. At critical places (like parsing) we're throwing exceptions.

We should replace those assumptions with Trace.Assert and add more checks with Debug.Assert