Changeset 9764 for trunk/sources/HeuristicLab.Tests/HeuristicLab.Encodings.RealVectorEncoding-3.3/BlendAlphaBetaCrossoverTest.cs
- Timestamp:
- 07/26/13 12:54:32 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Tests/HeuristicLab.Encodings.RealVectorEncoding-3.3/BlendAlphaBetaCrossoverTest.cs
r9456 r9764 22 22 using HeuristicLab.Core; 23 23 using HeuristicLab.Data; 24 using HeuristicLab.Encodings.RealVectorEncoding;25 24 using HeuristicLab.Tests; 26 25 using Microsoft.VisualStudio.TestTools.UnitTesting; 27 26 28 namespace HeuristicLab.Encodings.RealVectorEncoding _33.Tests {27 namespace HeuristicLab.Encodings.RealVectorEncoding.Tests { 29 28 30 29 … … 99 98 RealVector actual; 100 99 actual = target.Cross(random, parents); 101 } 102 catch (System.ArgumentException) { 100 } catch (System.ArgumentException) { 103 101 exceptionFired = true; 104 102 } … … 111 109 RealVector actual; 112 110 actual = target.Cross(random, parents); 113 } 114 catch (System.ArgumentException) { 111 } catch (System.ArgumentException) { 115 112 exceptionFired = true; 116 113 } … … 147 144 try { 148 145 actual = BlendAlphaBetaCrossover.Apply(random, parent1, parent2, alpha, beta); 149 } 150 catch (System.ArgumentException) { 146 } catch (System.ArgumentException) { 151 147 exceptionFired = true; 152 148 } … … 161 157 try { 162 158 actual = BlendAlphaBetaCrossover.Apply(random, parent1, parent2, alpha, beta); 163 } 164 catch (System.ArgumentException) { 159 } catch (System.ArgumentException) { 165 160 exceptionFired = true; 166 161 }
Note: See TracChangeset
for help on using the changeset viewer.