Commit fa03581c authored by Antoine Hazebrouck's avatar Antoine Hazebrouck

rangement dans packages

parent 2c9fa1ff
package imt;
package imt.concours;
import java.util.List;
import java.util.Optional;
import java.util.Set;
import imt.personnes.Jury;
import lombok.Data;
@Data
......
package imt;
package imt.concours;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
import java.util.stream.Stream;
import imt.personnes.Chef;
public class FileConcours {
private final Queue<Concours> concours;
......
package imt;
package imt.concours;
import java.util.Optional;
import imt.ingredients.Plat;
import imt.personnes.Chef;
import lombok.Data;
@Data
......
package imt;
package imt.ingredients;
import imt.ingredients.Consigne;
import imt.ingredients.Ingredient;
import imt.ingredients.Legume;
import imt.ingredients.ViandePoisson;
import lombok.EqualsAndHashCode;
@EqualsAndHashCode
......
package imt;
package imt.personnes;
import java.util.Set;
import imt.ingredients.Plat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
......
package imt;
package imt.personnes;
public enum Genre {
HOMME,FEMME
......
package imt;
package imt.personnes;
public class Jury extends Person {
......
package imt;
package imt.personnes;
import lombok.Data;
import lombok.EqualsAndHashCode;
......
package imt;
package imt.personnes;
public enum Specialite {
CUISINIER, PATISSIER, TRAVAIL_A_DISTANCE
......
package imt;
package imt.concours;
import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.jupiter.api.Assertions.assertEquals;
......@@ -12,6 +12,11 @@ import java.util.Set;
import org.junit.jupiter.api.Test;
import imt.ingredients.Ingredient;
import imt.ingredients.Plat;
import imt.personnes.Chef;
import imt.personnes.Genre;
import imt.personnes.Jury;
import imt.personnes.Specialite;
public class ConcoursTest {
public static Jury jury1 = new Jury(1, "nom1", "prenom1", "06", Genre.HOMME);
......
package imt;
import static imt.ConcoursTest.*;
package imt.concours;
import static imt.concours.ConcoursTest.chef1;
import static imt.concours.ConcoursTest.jury1;
import static imt.concours.ConcoursTest.jury2;
import static imt.concours.ConcoursTest.jury3;
import static imt.concours.ConcoursTest.proposition1;
import static imt.concours.ConcoursTest.propositions;
import static org.assertj.core.api.Assertions.assertThat;
import java.util.HashSet;
......@@ -10,6 +15,10 @@ import java.util.Set;
import org.junit.jupiter.api.Test;
import imt.ingredients.Ingredient;
import imt.ingredients.Plat;
import imt.personnes.Chef;
import imt.personnes.Genre;
import imt.personnes.Specialite;
public class FileConcoursTest {
@Test
......
Markdown is supported
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