feat(test): add Tests for ReflectedMethod and BestCandidateMethod
This commit is contained in:
18
lib/src/test/java/net/tomatentum/cutin/TestMethodClass.java
Normal file
18
lib/src/test/java/net/tomatentum/cutin/TestMethodClass.java
Normal file
@@ -0,0 +1,18 @@
|
||||
package net.tomatentum.cutin;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
|
||||
public class TestMethodClass {
|
||||
|
||||
boolean test(String context, int testNumber) {
|
||||
assertEquals("testContext", context);
|
||||
assertEquals(2, testNumber);
|
||||
return true;
|
||||
}
|
||||
|
||||
boolean test(double context, String testString) {
|
||||
assertEquals(4, context);
|
||||
assertEquals("testString", testString);
|
||||
return true;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user