aldro61/pyscm

Create more tests for the solver

aldro61 opened this issue · 1 comments

Write more unit tests for the solver. Tests especially the following:

  • Variable feature weights
  • Examples that share feature values (i.e. same threshold)
  • Comparison to hand-calculated utility functions

Any other test is welcome.

This has been partially addressed in PR #39.

We still need to check if the equivalent rules returned by the solver are the same as those found by the naive algorithm.