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.BinaryVectorEncoding/3.3/Tests/UniformCrossoverTest.cs

    r3742 r4068  
    2020#endregion
    2121
     22using HeuristicLab.Core;
    2223using HeuristicLab.Encodings.BinaryVectorEncoding;
    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.BinaryVectorEncoding_33.Tests {
     
    112109        BinaryVector actual;
    113110        actual = target.Cross(random, parents);
    114       } catch (System.ArgumentException) {
     111      }
     112      catch (System.ArgumentException) {
    115113        exceptionFired = true;
    116114      }
     
    131129      parent1 = new BinaryVector(new bool[] { false, false, false, false, true, false, false, false, false });
    132130      parent2 = new BinaryVector(new bool[] { true, true, false, true, false, false, false, false, true });
    133       expected = new BinaryVector(new bool[] { false, true, false, false, false, false, false, false, false});
     131      expected = new BinaryVector(new bool[] { false, true, false, false, false, false, false, false, false });
    134132      actual = UniformCrossover.Apply(random, parent1, parent2);
    135133      Assert.IsTrue(Auxiliary.BinaryVectorIsEqualByPosition(actual, expected));
     
    143141      actual = UniformCrossover.Apply(random, parent1, parent2);
    144142      Assert.IsTrue(Auxiliary.BinaryVectorIsEqualByPosition(actual, expected));
    145      
     143
    146144      // The following test is not based on any published examples
    147145      random.Reset();
     
    152150      try {
    153151        actual = UniformCrossover.Apply(random, parent1, parent2);
    154       } catch (System.ArgumentException) {
     152      }
     153      catch (System.ArgumentException) {
    155154        exceptionFired = true;
    156155      }
Note: See TracChangeset for help on using the changeset viewer.