I made two changes in order to keep the tests simple. First, I mades things in the Flips project with internal scope visible to the Flips.Tests project. Second, I weakened an argument type of the internal method LinearExpression.Evaluate.
It is unfortunate that these two new tests are essentially the same as the two tests above them. This is caused by the equivalently duplicate code between LinearExpression.Reduce and LinearExpression.Evaluate. I expect to remove that duplication one day, but not soon.
Fixes #153
I made two changes in order to keep the tests simple. First, I mades things in the
Flips
project withinternal
scope visible to theFlips.Tests
project. Second, I weakened an argument type of the internal methodLinearExpression.Evaluate
.It is unfortunate that these two new tests are essentially the same as the two tests above them. This is caused by the equivalently duplicate code between
LinearExpression.Reduce
andLinearExpression.Evaluate
. I expect to remove that duplication one day, but not soon.