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/DiscreteCrossoverTest.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 {
     
    10097        RealVector actual;
    10198        actual = target.Cross(random, parents);
    102       } catch (System.ArgumentException) {
     99      }
     100      catch (System.ArgumentException) {
    103101        exceptionFired = true;
    104102      }
     
    120118      parent1 = new RealVector(new double[] { 0.2, 0.2, 0.3, 0.5, 0.1 });
    121119      parent2 = new RealVector(new double[] { 0.4, 0.1, 0.3, 0.2, 0.8 });
    122       parents = new ItemArray<RealVector>( new RealVector[] { parent1, parent2 } );
     120      parents = new ItemArray<RealVector>(new RealVector[] { parent1, parent2 });
    123121      expected = new RealVector(new double[] { 0.2, 0.2, 0.3, 0.5, 0.8 });
    124122      actual = DiscreteCrossover.Apply(random, parents);
     
    133131      try {
    134132        actual = DiscreteCrossover.Apply(random, parents);
    135       } catch (System.ArgumentException) {
     133      }
     134      catch (System.ArgumentException) {
    136135        exceptionFired = true;
    137136      }
Note: See TracChangeset for help on using the changeset viewer.