fiddle
This commit is contained in:
@@ -15,6 +15,7 @@ class NoopTest {
|
|||||||
void TestOneArg() {
|
void TestOneArg() {
|
||||||
Consumer<String> toTest = OrNot::noop;
|
Consumer<String> toTest = OrNot::noop;
|
||||||
toTest.accept("Ignored");
|
toTest.accept("Ignored");
|
||||||
|
Assertions.fail("test failure");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -24,7 +25,6 @@ class NoopTest {
|
|||||||
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");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user