Skip to content
Snippets Groups Projects
Commit 38f2e22d authored by Léa Raya DÉCORNOD's avatar Léa Raya DÉCORNOD
Browse files

[#3] documente contrat API

parent a6270379
1 merge request!3#3 documentation
package fr.unistra.mathinfo.gl.tp.demo; package fr.unistra.mathinfo.gl.tp.demo;
/**
* FizzBuzz
* @see https://en.wikipedia.org/wiki/Fizz_buzz
*/
public interface FizzBuzz { public interface FizzBuzz {
/**
* @param nombre le numero du joueur
* @return la réponse de FizzBuzz (nombre, Fizz, Buzz ou FizzBuzz)
* @throws IllegalArgumentException si nombre ≤0 ou > 100
**/
public String convert(int nombre); public String convert(int nombre);
} }
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment