dodge checkstyle
This commit is contained in:
@@ -7,21 +7,24 @@ import java.util.function.BiConsumer;
|
|||||||
import java.util.function.Consumer;
|
import java.util.function.Consumer;
|
||||||
|
|
||||||
class NoopTest {
|
class NoopTest {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Test as a function with one argument.
|
||||||
|
*/
|
||||||
@Test
|
@Test
|
||||||
void TestOneArg() {
|
void TestOneArg() {
|
||||||
Consumer<String> toTest = OrNot::noop;
|
Consumer<String> toTest = OrNot::noop;
|
||||||
toTest.accept("Ignored");
|
toTest.accept("Ignored");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Test as a function with two argument.s
|
||||||
|
*/
|
||||||
@Test
|
@Test
|
||||||
void TestTwoArg() {
|
void TestTwoArg() {
|
||||||
BiConsumer<Double, Boolean> toTest = OrNot::noop;
|
BiConsumer<Double, Boolean> toTest = OrNot::noop;
|
||||||
toTest.accept(0.0, false);
|
toTest.accept(0.0, false);
|
||||||
}
|
Assertions.fail("test failure");
|
||||||
|
|
||||||
@Test
|
|
||||||
void TestThreeArg() {
|
|
||||||
Assertions.fail("Not yet implemented");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user