@ParameterizedTest
@ValueSource(ints = {1, 2, 3, 4, 5})
void testIsOdd(int number) {
assertTrue(MathUtils.isOdd(number));
}
@ParameterizedTest
@CsvSource({
"John, Doe",
"Jane, Smith",
"Mike, Johnson"
})
void testFullName(String firstName, String lastName) {
String fullName = StringUtils.concatenate(firstName, lastName);
assertTrue(fullName.contains(firstName) && fullName.contains(lastName));
}