Rev | Line | |
---|
[17666] | 1 | using HeuristicLab.Algorithms.NSGA3;
|
---|
| 2 | using Microsoft.VisualStudio.TestTools.UnitTesting;
|
---|
| 3 |
|
---|
| 4 | namespace HeuristicLab.Algorithms.NSGA3_3._3.Test
|
---|
| 5 | {
|
---|
| 6 | [TestClass]
|
---|
| 7 | public class ReferencePointsTests
|
---|
| 8 | {
|
---|
| 9 | [DataTestMethod]
|
---|
| 10 | [DataRow(3, 91)]
|
---|
| 11 | [DataRow(5, 210)]
|
---|
| 12 | [DataRow(8, 156)]
|
---|
| 13 | [DataRow(10, 275)]
|
---|
| 14 | [DataRow(15, 135)]
|
---|
| 15 | public void TestGetNumberOfGeneratedReferencePoints(int dimensions, int expectedNumberOfReferencePoints)
|
---|
| 16 | {
|
---|
| 17 | Assert.AreEqual(expectedNumberOfReferencePoints, ReferencePoint.GetNumberOfGeneratedReferencePoints(dimensions));
|
---|
| 18 | }
|
---|
| 19 | }
|
---|
| 20 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.