- Timestamp:
- 12/05/13 15:23:48 (11 years ago)
- Location:
- branches/HeuristicLab.Analysis.AlgorithmBehavior/AlgorithmBehaviorUnitTests
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Analysis.AlgorithmBehavior/AlgorithmBehaviorUnitTests/AlgorithmBehaviorUnitTests.csproj
r10109 r10198 104 104 <Compile Include="ConvexHullTest.cs" /> 105 105 <Compile Include="RealVectorSolutionCacheTest.cs" /> 106 <Compile Include="TestVolumeCalculation.cs" /> 106 107 </ItemGroup> 107 108 <ItemGroup> -
branches/HeuristicLab.Analysis.AlgorithmBehavior/AlgorithmBehaviorUnitTests/ConvexHullTest.cs
r10081 r10198 74 74 for (int i = 0; i < data.Count(); i++) { 75 75 double[] d = data[i]; 76 for (int j = 0; j < d.Length; j++) { 77 78 vertex.Position = d.Select(x => x).ToArray();79 80 } 76 77 DefaultVertex vertex = new DefaultVertex(); 78 vertex.Position = d; 79 result.Add(vertex); 80 81 81 } 82 82 return result; -
branches/HeuristicLab.Analysis.AlgorithmBehavior/AlgorithmBehaviorUnitTests/LPConvexHullTest.cs
r10081 r10198 145 145 for (int i = 0; i < data.Count(); i++) { 146 146 double[] d = data[i]; 147 for (int j = 0; j < d.Length; j++) { 148 DefaultVertex vertex = new DefaultVertex(); 149 vertex.Position = d.Select(x => x).ToArray(); 150 result.Add(vertex); 151 } 147 DefaultVertex vertex = new DefaultVertex(); 148 vertex.Position = d; 149 result.Add(vertex); 152 150 } 153 151 return result;
Note: See TracChangeset
for help on using the changeset viewer.