changeset 216:442bcf7306b9

Re #379: Fix validation of requirements to check for unit * Add tests for max limit on units in army * Re-add code for unit type requirement checking with min/max limits
author IBBoard <dev@ibboard.co.uk>
date Sun, 04 Mar 2012 21:12:44 +0000
parents 7e7296c0ae1f
children 9bf34e88da89
files API/Objects/Requirement/RaceRequiresNoMoreThanNUnitsRequirementTest.cs API/Objects/UnitTypeTest.cs IBBoard.WarFoundry.API.Tests.csproj
diffstat 3 files changed, 317 insertions(+), 9 deletions(-) [+]
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/API/Objects/Requirement/RaceRequiresNoMoreThanNUnitsRequirementTest.cs	Sun Mar 04 21:12:44 2012 +0000
     1.3 @@ -0,0 +1,307 @@
     1.4 +// This file (RaceRequiresNoMoreThanNUnitsRequirementTest.cs) is a part of the IBBoard.WarFoundry.API.Tests project and is copyright 2011 IBBoard
     1.5 +// 
     1.6 +// The file and the library/program it is in are licensed and distributed, without warranty, under the GNU Affero GPL license, either version 3 of the License or (at your option) any later version. Please see COPYING for more information and the full license.
     1.7 +using System;
     1.8 +using NUnit.Framework;
     1.9 +using IBBoard.WarFoundry.API.Objects.Mock;
    1.10 +using NUnit.Framework.SyntaxHelpers;
    1.11 +
    1.12 +namespace IBBoard.WarFoundry.API.Objects.Requirement
    1.13 +{
    1.14 +	[TestFixture()]
    1.15 +	public class RaceRequiresNoMoreThanNUnitsRequirementTest : AbstractUnitRequirementTest<Race>
    1.16 +	{
    1.17 +		private MockRace mockRace;
    1.18 +		private UnitType unitType1;
    1.19 +		private UnitType unitType2;
    1.20 +		private UnitType unitType3;
    1.21 +
    1.22 +		[TestFixtureSetUp()]
    1.23 +		public void SetupRace()
    1.24 +		{
    1.25 +			mockRace = new MockRace();
    1.26 +			unitType1 = new MockUnitType("type1", "Unit Type 1");
    1.27 +			mockRace.AddUnitType(unitType1);
    1.28 +			unitType2 = new MockUnitType("type2", "Unit Type 2");
    1.29 +			mockRace.AddUnitType(unitType2);
    1.30 +			unitType3 = new MockUnitType("type3", "Unit Type 3");
    1.31 +			mockRace.AddUnitType(unitType3);
    1.32 +		}
    1.33 +
    1.34 +		[Test()]
    1.35 +		public void TestAddingUnitTypeWithNoUnitAndOneUnitTypeRequired()
    1.36 +		{
    1.37 +			Army army = new Army(mockRace, "Test", 1000);
    1.38 +			RaceRequiresNoMoreThanNUnitsRequirement req = new RaceRequiresNoMoreThanNUnitsRequirement(mockRace);
    1.39 +			req.AddUnitTypeRequirement(unitType2);
    1.40 +			Assert_That__FailsAdding(req, unitType2, army, "Army cannot contain more than: 0 × " + unitType2.Name + " (would have 1).");
    1.41 +		}
    1.42 +
    1.43 +		[Test()]
    1.44 +		public void TestAddingUnitTypeWithOneUnitAndOneUnitTypeRequired()
    1.45 +		{
    1.46 +			Army army = new Army(mockRace, "Test", 1000);
    1.47 +			AddUnitOfTypeToArmy(unitType2, army);
    1.48 +			RaceRequiresNoMoreThanNUnitsRequirement req = new RaceRequiresNoMoreThanNUnitsRequirement(mockRace);
    1.49 +			req.AddUnitTypeRequirement(unitType2);
    1.50 +			Assert_That__FailsAdding(req, unitType2, army, "Army cannot contain more than: 0 × " + unitType2.Name + " (would have 2).");
    1.51 +		}
    1.52 +
    1.53 +		[Test()]
    1.54 +		public void TestAddingUnitTypeWithNoUnitsAndTwoUnitTypesRequiredFails()
    1.55 +		{
    1.56 +			Army army = new Army(mockRace, "Test", 1000);
    1.57 +			RaceRequiresNoMoreThanNUnitsRequirement req = new RaceRequiresNoMoreThanNUnitsRequirement(mockRace);
    1.58 +			req.AddUnitTypeRequirement(unitType2);
    1.59 +			req.AddUnitTypeRequirement(unitType3);
    1.60 +			Assert_That__FailsAdding(req, unitType2, army, "Army cannot contain more than: 0 × " + unitType2.Name + " (would have 1).");
    1.61 +			Assert_That__FailsAdding(req, unitType3, army, "Army cannot contain more than: 0 × " + unitType3.Name + " (would have 1).");
    1.62 +		}
    1.63 +
    1.64 +		[Test()]
    1.65 +		public void TestAddingUnitTypeWithOneUnitAndTwoUnitTypesRequired()
    1.66 +		{
    1.67 +			Army army = new Army(mockRace, "Test", 1000);
    1.68 +			AddUnitOfTypeToArmy(unitType2, army);
    1.69 +			RaceRequiresNoMoreThanNUnitsRequirement req = new RaceRequiresNoMoreThanNUnitsRequirement(mockRace);
    1.70 +			req.AddUnitTypeRequirement(unitType2);
    1.71 +			req.AddUnitTypeRequirement(unitType3);
    1.72 +			Assert_That__FailsAdding(req, unitType2, army, "Army cannot contain more than: 0 × " + unitType2.Name + " (would have 2).");
    1.73 +		}
    1.74 +
    1.75 +		[Test()]
    1.76 +		public void TestAddingUnitTypeWithOtherOneUnitAndTwoUnitTypesRequired()
    1.77 +		{
    1.78 +			Army army = new Army(mockRace, "Test", 1000);
    1.79 +			AddUnitOfTypeToArmy(unitType3, army);
    1.80 +			RaceRequiresNoMoreThanNUnitsRequirement req = new RaceRequiresNoMoreThanNUnitsRequirement(mockRace);
    1.81 +			req.AddUnitTypeRequirement(unitType2);
    1.82 +			req.AddUnitTypeRequirement(unitType3);
    1.83 +			Assert_That__FailsAdding(req, unitType2, army, "Army cannot contain more than: 0 × " + unitType2.Name + " (would have 1); 0 × " + unitType3.Name + " (would have 1).");
    1.84 +		}
    1.85 +
    1.86 +		[Test()]
    1.87 +		public void TestAddingOtherUnitTypeWithOneUnitAndTwoUnitTypesRequired()
    1.88 +		{
    1.89 +			Army army = new Army(mockRace, "Test", 1000);
    1.90 +			AddUnitOfTypeToArmy(unitType2, army);
    1.91 +			RaceRequiresNoMoreThanNUnitsRequirement req = new RaceRequiresNoMoreThanNUnitsRequirement(mockRace);
    1.92 +			req.AddUnitTypeRequirement(unitType2);
    1.93 +			req.AddUnitTypeRequirement(unitType3);
    1.94 +			Assert_That__FailsAdding(req, unitType3, army, "Army cannot contain more than: 0 × " + unitType2.Name + " (would have 1); 0 × " + unitType3.Name + " (would have 1).");
    1.95 +		}
    1.96 +
    1.97 +		[Test()]
    1.98 +		public void TestAddingOtherUnitTypeWithOtherOneUnitAndTwoUnitTypesRequired()
    1.99 +		{
   1.100 +			Army army = new Army(mockRace, "Test", 1000);
   1.101 +			AddUnitOfTypeToArmy(unitType3, army);
   1.102 +			RaceRequiresNoMoreThanNUnitsRequirement req = new RaceRequiresNoMoreThanNUnitsRequirement(mockRace);
   1.103 +			req.AddUnitTypeRequirement(unitType2);
   1.104 +			req.AddUnitTypeRequirement(unitType3);
   1.105 +			Assert_That__FailsAdding(req, unitType3, army, "Army cannot contain more than: 0 × " + unitType3.Name + " (would have 2).");
   1.106 +		}
   1.107 +
   1.108 +		[Test()]
   1.109 +		public void TestAddingUnitTypeWithBothUnitsAndTwoUnitTypesRequired()
   1.110 +		{
   1.111 +			Army army = new Army(mockRace, "Test", 1000);
   1.112 +			AddUnitOfTypeToArmy(unitType2, army);
   1.113 +			AddUnitOfTypeToArmy(unitType3, army);
   1.114 +			RaceRequiresNoMoreThanNUnitsRequirement req = new RaceRequiresNoMoreThanNUnitsRequirement(mockRace);
   1.115 +			req.AddUnitTypeRequirement(unitType2);
   1.116 +			req.AddUnitTypeRequirement(unitType3);
   1.117 +			Assert_That__FailsAdding(req, unitType2, army, "Army cannot contain more than: 0 × " + unitType2.Name + " (would have 2); 0 × " + unitType3.Name + " (would have 1).");
   1.118 +			Assert_That__FailsAdding(req, unitType3, army, "Army cannot contain more than: 0 × " + unitType2.Name + " (would have 1); 0 × " + unitType3.Name + " (would have 2).");
   1.119 +		}
   1.120 +
   1.121 +		[Test()]
   1.122 +		public void TestAddingUnitTypeWithOneUnitAndTwoOfOneUnitTypeRequired()
   1.123 +		{
   1.124 +			Army army = new Army(mockRace, "Test", 1000);
   1.125 +			AddUnitOfTypeToArmy(unitType2, army);
   1.126 +			RaceRequiresNoMoreThanNUnitsRequirement req = new RaceRequiresNoMoreThanNUnitsRequirement(mockRace);
   1.127 +			req.AddUnitTypeRequirement(unitType2, 2);
   1.128 +			Assert_That__PassesAdding(req, unitType2, army);
   1.129 +		}
   1.130 +
   1.131 +		[Test()]
   1.132 +		public void TestAddingUnrelatedUnitTypeValidatesAsNotApplicable()
   1.133 +		{
   1.134 +			Army army = new Army(mockRace, "Test", 1000);
   1.135 +			RaceRequiresNoMoreThanNUnitsRequirement req = new RaceRequiresNoMoreThanNUnitsRequirement(mockRace);
   1.136 +			req.AddUnitTypeRequirement(unitType2, 2);
   1.137 +			Assert_That__AddingNotApplicable(req, unitType1, army);
   1.138 +		}
   1.139 +
   1.140 +		[Test()]
   1.141 +		public void TestAddingUnrelatedUnitTypeValidatesAsNotApplicableWhenRequirementsNotMet()
   1.142 +		{
   1.143 +			Army army = new Army(mockRace, "Test", 1000);
   1.144 +			RaceRequiresNoMoreThanNUnitsRequirement req = new RaceRequiresNoMoreThanNUnitsRequirement(mockRace);
   1.145 +			req.AddUnitTypeRequirement(unitType2, 2);
   1.146 +			Assert_That__AddingNotApplicable(req, unitType1, army);
   1.147 +		}
   1.148 +
   1.149 +		[Test()]
   1.150 +		public void TestAddingUnitTypeWithTwoUnitsAndTwoOfOneUnitTypeRequired()
   1.151 +		{
   1.152 +			Army army = new Army(mockRace, "Test", 1000);
   1.153 +			AddUnitOfTypeToArmy(unitType2, army);
   1.154 +			AddUnitOfTypeToArmy(unitType2, army);
   1.155 +			RaceRequiresNoMoreThanNUnitsRequirement req = new RaceRequiresNoMoreThanNUnitsRequirement(mockRace);
   1.156 +			req.AddUnitTypeRequirement(unitType2, 2);
   1.157 +			Assert_That__FailsAdding(req, unitType2, army, "Army cannot contain more than: 2 × " + unitType2.Name + " (would have 3).");
   1.158 +		}
   1.159 +
   1.160 +		[Test()]
   1.161 +		public void TestAddingUnitTypeRequirementWithNoNumberDefaultsToHavingZero()
   1.162 +		{
   1.163 +			Army army = new Army(mockRace, "Test", 1000);
   1.164 +			RaceRequiresNoMoreThanNUnitsRequirement req = new RaceRequiresNoMoreThanNUnitsRequirement(mockRace);
   1.165 +			req.AddUnitTypeRequirement(unitType2);
   1.166 +			Assert_That__FailsAdding(req, unitType2, army, "Army cannot contain more than: 0 × " + unitType2.Name + " (would have 1).");
   1.167 +		}
   1.168 +
   1.169 +		[Test()]
   1.170 +		public void TestAddingUnitTypeMakesRequirementFail()
   1.171 +		{
   1.172 +			Army army = new Army(mockRace, "Test", 1000);
   1.173 +			RaceRequiresNoMoreThanNUnitsRequirement req = new RaceRequiresNoMoreThanNUnitsRequirement(mockRace);
   1.174 +			req.AddUnitTypeRequirement(unitType2, 1);
   1.175 +			Assert_That__PassesAdding(req, unitType2, army);
   1.176 +			AddUnitOfTypeToArmy(unitType2, army);
   1.177 +			Assert_That__FailsAdding(req, unitType2, army, "Army cannot contain more than: 1 × " + unitType2.Name + " (would have 2).");
   1.178 +		}
   1.179 +
   1.180 +		[Test()]
   1.181 +		public void TestValidatingWithNoUnitsAndOneUnitTypeRequired()
   1.182 +		{
   1.183 +			Army army = new Army(mockRace, "Test", 1000);
   1.184 +			RaceRequiresNoMoreThanNUnitsRequirement req = new RaceRequiresNoMoreThanNUnitsRequirement(mockRace);
   1.185 +			req.AddUnitTypeRequirement(unitType2);
   1.186 +			Assert_That__ValidationPasses(req, army);
   1.187 +		}
   1.188 +
   1.189 +		[Test()]
   1.190 +		public void TestValidatingWithOneUnitAndOneUnitTypeRequired()
   1.191 +		{
   1.192 +			Army army = new Army(mockRace, "Test", 1000);
   1.193 +			AddUnitOfTypeToArmy(unitType2, army);
   1.194 +			RaceRequiresNoMoreThanNUnitsRequirement req = new RaceRequiresNoMoreThanNUnitsRequirement(mockRace);
   1.195 +			req.AddUnitTypeRequirement(unitType2);
   1.196 +			Assert_That__ValidationFails(req, army, "Army cannot contain more than: 0 × " + unitType2.Name + " (have 1).");
   1.197 +		}
   1.198 +
   1.199 +		[Test()]
   1.200 +		public void TestValidatingWithNoUnitsAndTwoUnitTypesRequired()
   1.201 +		{
   1.202 +			Army army = new Army(mockRace, "Test", 1000);
   1.203 +			RaceRequiresNoMoreThanNUnitsRequirement req = new RaceRequiresNoMoreThanNUnitsRequirement(mockRace);
   1.204 +			req.AddUnitTypeRequirement(unitType2);
   1.205 +			req.AddUnitTypeRequirement(unitType3);
   1.206 +			Assert_That__ValidationPasses(req, army);
   1.207 +		}
   1.208 +
   1.209 +		[Test()]
   1.210 +		public void TestValidatingWithOneUnitAndTwoUnitTypesRequired()
   1.211 +		{
   1.212 +			Army army = new Army(mockRace, "Test", 1000);
   1.213 +			AddUnitOfTypeToArmy(unitType2, army);
   1.214 +			RaceRequiresNoMoreThanNUnitsRequirement req = new RaceRequiresNoMoreThanNUnitsRequirement(mockRace);
   1.215 +			req.AddUnitTypeRequirement(unitType2);
   1.216 +			req.AddUnitTypeRequirement(unitType3);
   1.217 +			Assert_That__ValidationFails(req, army, "Army cannot contain more than: 0 × " + unitType2.Name + " (have 1).");
   1.218 +		}
   1.219 +
   1.220 +		[Test()]
   1.221 +		public void TestValidatingWithOtherOneUnitAndTwoUnitTypesRequired()
   1.222 +		{
   1.223 +			Army army = new Army(mockRace, "Test", 1000);
   1.224 +			AddUnitOfTypeToArmy(unitType3, army);
   1.225 +			RaceRequiresNoMoreThanNUnitsRequirement req = new RaceRequiresNoMoreThanNUnitsRequirement(mockRace);
   1.226 +			req.AddUnitTypeRequirement(unitType2);
   1.227 +			req.AddUnitTypeRequirement(unitType3);
   1.228 +			AddUnitOfTypeToArmy(unitType1, army);
   1.229 +			Assert_That__ValidationFails(req, army, "Army cannot contain more than: 0 × " + unitType3.Name + " (have 1).");
   1.230 +		}
   1.231 +
   1.232 +		[Test()]
   1.233 +		public void TestValidatingWithBothUnitsAndTwoUnitTypesRequired()
   1.234 +		{
   1.235 +			Army army = new Army(mockRace, "Test", 1000);
   1.236 +			AddUnitOfTypeToArmy(unitType2, army);
   1.237 +			AddUnitOfTypeToArmy(unitType3, army);
   1.238 +			RaceRequiresNoMoreThanNUnitsRequirement req = new RaceRequiresNoMoreThanNUnitsRequirement(mockRace);
   1.239 +			req.AddUnitTypeRequirement(unitType2);
   1.240 +			req.AddUnitTypeRequirement(unitType3);
   1.241 +			Assert_That__ValidationFails(req, army, "Army cannot contain more than: 0 × " + unitType2.Name + " (have 1); 0 × " + unitType3.Name + " (have 1).");
   1.242 +		}
   1.243 +
   1.244 +		[Test()]
   1.245 +		public void TestValidatingWithBothUnitsUnderLimitAndTwoUnitTypesRequired()
   1.246 +		{
   1.247 +			Army army = new Army(mockRace, "Test", 1000);
   1.248 +			AddUnitOfTypeToArmy(unitType2, army);
   1.249 +			AddUnitOfTypeToArmy(unitType3, army);
   1.250 +			RaceRequiresNoMoreThanNUnitsRequirement req = new RaceRequiresNoMoreThanNUnitsRequirement(mockRace);
   1.251 +			req.AddUnitTypeRequirement(unitType2, 1);
   1.252 +			req.AddUnitTypeRequirement(unitType3, 1);
   1.253 +			Assert_That__ValidationPasses(req, army);
   1.254 +		}
   1.255 +
   1.256 +		[Test()]
   1.257 +		public void TestValidatingWithOneUnitAndTwoOfOneUnitTypeRequired()
   1.258 +		{
   1.259 +			Army army = new Army(mockRace, "Test", 1000);
   1.260 +			AddUnitOfTypeToArmy(unitType2, army);
   1.261 +			RaceRequiresNoMoreThanNUnitsRequirement req = new RaceRequiresNoMoreThanNUnitsRequirement(mockRace);
   1.262 +			req.AddUnitTypeRequirement(unitType2, 2);
   1.263 +			Assert_That__ValidationPasses(req, army);
   1.264 +		}
   1.265 +
   1.266 +		[Test()]
   1.267 +		public void TestValidatingWithUnrelatedUnitTypeValidatesAsPass()
   1.268 +		{
   1.269 +			Army army = new Army(mockRace, "Test", 1000);
   1.270 +			AddUnitOfTypeToArmy(unitType3, army);
   1.271 +			RaceRequiresNoMoreThanNUnitsRequirement req = new RaceRequiresNoMoreThanNUnitsRequirement(mockRace);
   1.272 +			req.AddUnitTypeRequirement(unitType2, 2);
   1.273 +			Assert_That__ValidationPasses(req, army);
   1.274 +		}
   1.275 +
   1.276 +		[Test()]
   1.277 +		public void TestValidatingWithTwoUnitsAndTwoOfOneUnitTypeRequired()
   1.278 +		{
   1.279 +			Army army = new Army(mockRace, "Test", 1000);
   1.280 +			AddUnitOfTypeToArmy(unitType2, army);
   1.281 +			AddUnitOfTypeToArmy(unitType2, army);
   1.282 +			RaceRequiresNoMoreThanNUnitsRequirement req = new RaceRequiresNoMoreThanNUnitsRequirement(mockRace);
   1.283 +			req.AddUnitTypeRequirement(unitType2, 2);
   1.284 +			Assert_That__ValidationPasses(req, army);
   1.285 +		}
   1.286 +
   1.287 +		[Test()]
   1.288 +		public void TestValidatingRequirementWithNoNumberDefaultsToHavingZero()
   1.289 +		{
   1.290 +			Army army = new Army(mockRace, "Test", 1000);
   1.291 +			AddUnitOfTypeToArmy(unitType2, army);
   1.292 +			RaceRequiresNoMoreThanNUnitsRequirement req = new RaceRequiresNoMoreThanNUnitsRequirement(mockRace);
   1.293 +			req.AddUnitTypeRequirement(unitType2);
   1.294 +			Assert_That__ValidationFails(req, army, "Army cannot contain more than: 0 × " + unitType2.Name + " (have 1).");
   1.295 +		}
   1.296 +
   1.297 +		[Test()]
   1.298 +		public void TestAddingUnitTypeMakesRequirementFailValidating()
   1.299 +		{
   1.300 +			Army army = new Army(mockRace, "Test", 1000);
   1.301 +			AddUnitOfTypeToArmy(unitType2, army);
   1.302 +			RaceRequiresNoMoreThanNUnitsRequirement req = new RaceRequiresNoMoreThanNUnitsRequirement(mockRace);
   1.303 +			req.AddUnitTypeRequirement(unitType2, 1);
   1.304 +			Assert_That__ValidationPasses(req, army);
   1.305 +			AddUnitOfTypeToArmy(unitType2, army);
   1.306 +			Assert_That__ValidationFails(req, army, "Army cannot contain more than: 1 × " + unitType2.Name + " (have 2).");
   1.307 +		}
   1.308 +	}
   1.309 +}
   1.310 +
     2.1 --- a/API/Objects/UnitTypeTest.cs	Sun Mar 04 20:35:21 2012 +0000
     2.2 +++ b/API/Objects/UnitTypeTest.cs	Sun Mar 04 21:12:44 2012 +0000
     2.3 @@ -62,17 +62,17 @@
     2.4  		[Test]
     2.5  		public void TestGetRequirementsGetsUnitCountRequirements()
     2.6  		{
     2.7 -			UnitType unitType = new UnitType("unittype1", "Swordsmen", new MockRace());
     2.8 +			MockRace mockRace = new MockRace();
     2.9 +			UnitType unitType = new UnitType("unittype1", "Swordsmen", mockRace);
    2.10  			unitType.MinNumber = 1;
    2.11  			unitType.MaxNumber = 2;
    2.12 -			Assert.Fail("Needs fixing after changes");
    2.13 -			//Assert.That(unitType.GetRequirements(), Has.Length(2));
    2.14 -			//RequiresNoMoreThanNOfUnitTypeRequirement<OBJECT_TYPE> maxLimit = new RequiresNoMoreThanNOfUnitTypeRequirement<OBJECT_TYPE>();
    2.15 -			//maxLimit.AddUnitTypeRequirement(unitType, 2);
    2.16 -			//Assert.That(unitType.GetRequirements(), Has.Member(maxLimit));
    2.17 -			//RequiresAtLeastNUnitsRequirement minLimit = new RequiresAtLeastNUnitsRequirement();
    2.18 -			//minLimit.AddUnitTypeRequirement(unitType, 1);
    2.19 -			//Assert.That(unitType.GetRequirements(), Has.Member(minLimit));
    2.20 +			Assert.That(unitType.GetRequirements(), Has.Length(2));
    2.21 +			RaceRequiresNoMoreThanNUnitsRequirement maxLimit = new RaceRequiresNoMoreThanNUnitsRequirement(mockRace, unitType);
    2.22 +			maxLimit.AddUnitTypeRequirement(unitType, 2);
    2.23 +			Assert.That(unitType.GetRequirements(), Has.Member(maxLimit));
    2.24 +			RaceRequiresAtLeastNUnitsRequirement minLimit = new RaceRequiresAtLeastNUnitsRequirement(mockRace, unitType);
    2.25 +			minLimit.AddUnitTypeRequirement(unitType, 1);
    2.26 +			Assert.That(unitType.GetRequirements(), Has.Member(minLimit));
    2.27  		}
    2.28  
    2.29  		public override UnitType GetObject()
     3.1 --- a/IBBoard.WarFoundry.API.Tests.csproj	Sun Mar 04 20:35:21 2012 +0000
     3.2 +++ b/IBBoard.WarFoundry.API.Tests.csproj	Sun Mar 04 21:12:44 2012 +0000
     3.3 @@ -118,6 +118,7 @@
     3.4      <Compile Include="API\Objects\Requirement\Mock\MockRequiresNUnitsForMObjectsRequirement.cs" />
     3.5      <Compile Include="API\Objects\Requirement\AbstractUnitRequirementTest.cs" />
     3.6      <Compile Include="API\Objects\Requirement\RaceRequiresAtLeastNUnitsRequirementTest.cs" />
     3.7 +    <Compile Include="API\Objects\Requirement\RaceRequiresNoMoreThanNUnitsRequirementTest.cs" />
     3.8    </ItemGroup>
     3.9    <ItemGroup>
    3.10      <None Include="app.config" />