Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/22/10 00:44:01 (14 years ago)
Author:
swagner
Message:

Sorted usings and removed unused usings in entire solution (#1094)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/Tests/LocalCrossoverTest.cs

    r3742 r4068  
    2020#endregion
    2121
     22using HeuristicLab.Core;
    2223using HeuristicLab.Encodings.RealVectorEncoding;
    2324using Microsoft.VisualStudio.TestTools.UnitTesting;
    24 using HeuristicLab.Common;
    25 using HeuristicLab.Core;
    26 using HeuristicLab.Data;
    27 using HeuristicLab.Parameters;
    2825
    2926namespace HeuristicLab.Encodings.RealVectorEncoding_33.Tests {
     
    112109        RealVector actual;
    113110        actual = target.Cross(random, parents);
    114       } catch (System.ArgumentException) {
     111      }
     112      catch (System.ArgumentException) {
    115113        exceptionFired = true;
    116114      }
     
    136134      // The following test is not based on published examples
    137135      random.Reset();
    138       random.DoubleNumbers = new double[] { 0.3, 0.1, 0.2, 0.4, 0.23, 0.5};
     136      random.DoubleNumbers = new double[] { 0.3, 0.1, 0.2, 0.4, 0.23, 0.5 };
    139137      parent1 = new RealVector(new double[] { 0.2, 0.2, 0.3, 0.5, 0.1, 0.9 }); // this parent is longer
    140138      parent2 = new RealVector(new double[] { 0.4, 0.1, 0.3, 0.2, 0.8 });
     
    142140      try {
    143141        actual = LocalCrossover.Apply(random, parent1, parent2);
    144       } catch (System.ArgumentException) {
     142      }
     143      catch (System.ArgumentException) {
    145144        exceptionFired = true;
    146145      }
Note: See TracChangeset for help on using the changeset viewer.