dodge checkstyle
Some checks failed
Build with gradle / Build-with-gradle (pull_request) Failing after 53s
Java Google Checkstyle / Checkstyle Linter (pull_request) Failing after 21s

This commit is contained in:
2026-01-24 01:06:43 -06:00
parent 7e5e942bfa
commit 3e304a146d

View File

@@ -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");
} }
} }