Skip to content

Commit

Permalink
increase unit test coverage in rule builder clause
Browse files Browse the repository at this point in the history
  • Loading branch information
cschen1205 committed May 8, 2017
1 parent 4dbcbb2 commit 24d2294
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,14 @@ public void test_all_other_cases(){
.andGreater("x", "3.0")
.andLess("x", "4.0")
.thenGreater("x", "3.0");
new RuleBuilder(ruleInferenceEngine).ifLess("x", "2.0")
.thenLess("y", "4.0");
new RuleBuilder(ruleInferenceEngine).ifMatch("x", "^s")
.andMatch("y", "^s")
.thenMatch("y", "^s");
new RuleBuilder(ruleInferenceEngine).ifNotMatch("x", "^s")
.andNotMatch("y", "^s")
.thenNotMatch("y", "^s");
new RuleBuilder(ruleInferenceEngine).ifLE("x", "2.0")
.thenLE("x", "3.0");
new RuleBuilder(ruleInferenceEngine).ifGE("x", "3.0")
Expand Down

0 comments on commit 24d2294

Please sign in to comment.