Skip to content
Snippets Groups Projects
Commit 7787814d authored by Florian Delbe's avatar Florian Delbe
Browse files

test au vert

parent cd80141b
Branches
No related tags found
No related merge requests found
package fr.univlille.iut.info.src.r402;
public enum MoneyCurrency {
EUR,USD
}
package fr.univlille.iut.info.src.r402;
public class Stock {
private double value;
private MoneyCurrency currency;
public Stock(double value,MoneyCurrency moneyCurrency){
this.value=value;
this.currency=moneyCurrency;
}
public double getValue() {
return value;
}
public MoneyCurrency getCurrency() {
return currency;
}
}
......@@ -2,10 +2,9 @@ package fr.univlille.iut.info.r402;
import static org.junit.jupiter.api.Assertions.assertEquals;
import java.util.Currency;
import fr.univlille.iut.info.src.r402.Stock;
import fr.univlille.iut.info.src.r402.MoneyCurrency;
import io.cucumber.java.en.And;
import io.cucumber.java.en.Given;
import io.cucumber.java.en.Then;
import io.cucumber.java.en.When;
......
File added
File added
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment