MCPcopy Create free account
hub / github.com/OpenTSDB/opentsdb / addRule

Method addRule

test/tree/TestTree.java:143–149  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

141 }
142
143 @Test
144 public void addRule() throws Exception {
145 final Tree tree = new Tree();
146 tree.addRule(new TreeRule());
147 assertNotNull(tree.getRules());
148 assertEquals(1, tree.getRules().size());
149 }
150
151 @Test
152 public void addRuleLevel() throws Exception {

Calls 3

addRuleMethod · 0.95
getRulesMethod · 0.95
sizeMethod · 0.65

Tested by

no test coverage detected