Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 [BUG] Professeur non égal #33

Closed
MathieuSoysal opened this issue Feb 16, 2021 · 0 comments · Fixed by #34
Closed

🐛 [BUG] Professeur non égal #33

MathieuSoysal opened this issue Feb 16, 2021 · 0 comments · Fixed by #34
Assignees
Labels
bug Something isn't working

Comments

@MathieuSoysal
Copy link
Member

MathieuSoysal commented Feb 16, 2021

Description

Deux objets Professeur ayant la même dénomination, doivent être égal. Même si l'un possède des accents au sein de sa dénomination et l'autre non.

Reproduction du problème

        Professeur professeur1 = new Professeur("Épie   Jean");
        Professeur professeur2 = new Professeur("Epie   Jean");
        return professeur1.equals(professeur2);

Le résultat retourné est false.

Résultat attendu

Le code aurait dû ignorer l'accentuation et retourner vrai.

@MathieuSoysal MathieuSoysal added the bug Something isn't working label Feb 16, 2021
@MathieuSoysal MathieuSoysal linked a pull request Feb 26, 2021 that will close this issue
@MathieuSoysal MathieuSoysal self-assigned this Feb 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant