Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 633 Bytes

File metadata and controls

18 lines (11 loc) · 633 Bytes

Java JUnit5

A minimal setup with Java JUnit5 to get you started.

You can use gradle or maven

Running Tests

To execute the tests either run ./gradlew test, mvn test or run the tests from the IDE you are using

FizzBuzz

En la clase FizzBuzz crear una funcion que:

  • Retorne un string con el numero que recibe como argumento
  • Si el numero es multiple de 3, retorna Fizz en lugar del numero
  • Si el numero es multiple de 5, retorna Buzz en lugar del numero
  • Si el numero es multiple de 3 y 5, retorna FizzBuzz en lugar del numero