Changeset 10 for bidspace/src/test/java
- Timestamp:
- 01/28/20 10:19:54 (5 years ago)
- Location:
- bidspace/src/test/java/geniusweb/bidspace
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
bidspace/src/test/java/geniusweb/bidspace/pareto/ParetoE2Etest.java
r1 r10 19 19 import com.fasterxml.jackson.databind.ObjectMapper; 20 20 21 import geniusweb.bidspace.pareto.GenericPareto;22 import geniusweb.bidspace.pareto.ParetoFrontier;23 import geniusweb.bidspace.pareto.ParetoLinearAdditive;24 21 import geniusweb.profile.Profile; 22 import geniusweb.profile.utilityspace.LinearAdditive; 25 23 import geniusweb.profile.utilityspace.LinearAdditiveUtilitySpace; 26 24 … … 61 59 .readValue(file2, Profile.class); 62 60 63 List<LinearAdditive UtilitySpace> profiles = new LinkedList<>();61 List<LinearAdditive> profiles = new LinkedList<>(); 64 62 profiles.add(profile1); 65 63 profiles.add(profile2); -
bidspace/src/test/java/geniusweb/bidspace/pareto/ParetoPointTest.java
r1 r10 15 15 import org.junit.Test; 16 16 17 import geniusweb.bidspace.pareto.ParetoPoint;18 17 import geniusweb.issuevalue.Bid; 19 18 import geniusweb.issuevalue.Value; 20 import geniusweb.profile.utilityspace.LinearAdditive UtilitySpace;19 import geniusweb.profile.utilityspace.LinearAdditive; 21 20 22 21 public class ParetoPointTest { … … 26 25 private static final BigDecimal D0_4 = BigDecimal.valueOf(0.4); 27 26 private static final BigDecimal D0_5 = BigDecimal.valueOf(0.5); 28 private final LinearAdditiveUtilitySpace space1 = mock( 29 LinearAdditiveUtilitySpace.class), 30 space2 = mock(LinearAdditiveUtilitySpace.class); 27 private final LinearAdditive space1 = mock(LinearAdditive.class), 28 space2 = mock(LinearAdditive.class); 31 29 private final Bid bid11 = mock(Bid.class), bid12 = mock(Bid.class), 32 30 bid21 = mock(Bid.class), bid22 = mock(Bid.class); -
bidspace/src/test/java/geniusweb/bidspace/pareto/PartialParetoTest.java
r1 r10 16 16 import org.junit.Test; 17 17 18 import geniusweb.bidspace.pareto.PartialPareto;19 18 import geniusweb.issuevalue.Bid; 20 19 import geniusweb.issuevalue.Domain; 21 20 import geniusweb.issuevalue.Value; 22 21 import geniusweb.issuevalue.ValueSet; 23 import geniusweb.profile.utilityspace.LinearAdditive UtilitySpace;22 import geniusweb.profile.utilityspace.LinearAdditive; 24 23 25 24 public class PartialParetoTest { … … 31 30 private static final BigDecimal D0_5 = BigDecimal.valueOf(0.5); 32 31 33 private final LinearAdditiveUtilitySpace space1 = mock( 34 LinearAdditiveUtilitySpace.class), 35 space2 = mock(LinearAdditiveUtilitySpace.class); 32 private final LinearAdditive space1 = mock(LinearAdditive.class), 33 space2 = mock(LinearAdditive.class); 36 34 37 35 private Domain domain = mock(Domain.class);
Note:
See TracChangeset
for help on using the changeset viewer.