Closed jkav77 closed 6 years ago
Actually this does not work. I added a failing test and will look at it later.
Ok I fixed the tests which were not properly passing an Item
object to the validate
method which caused false positives and negatives. Then I fixed the validation
method and it seems to be working now. I think this solves #24 now.
I exposed a
validate
method on the dynogels model to solve #24. So now you can use the model to validate an instance like below. I included some tests and documentation updates. My tests don't cover many permutations so let me know if there is something that doesn't validate through this method.