The pinout command gives this summary.
This is what the output looks like. From this you can see that the Raspberry Pi Model is 3B V1.2
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource;
import java.util.stream.Stream;
import static org.junit.jupiter.api.Assertions.assertTrue;
public class ParametrizedTest {
@Test
@ParameterizedTest
@MethodSource("stringProvider")
void test(String string) {
assertTrue(true);
}
public static Stream stringProvider() {
return Stream.of("", null, "123");
}
}
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource;
import java.util.stream.Stream;
import static org.junit.jupiter.api.Assertions.assertTrue;
public class ParametrizedTest {
@ParameterizedTest
@MethodSource("stringProvider")
void test(String string) {
assertTrue(true);
}
public static Stream stringProvider() {
return Stream.of("", null, "123");
}
}