view API/Objects/RaceTests.cs @ 127:779ad76c2644

Re #27: Unit requirements * Add first test for getting requirements from race
author IBBoard <dev@ibboard.co.uk>
date Sat, 09 Apr 2011 15:49:09 +0000
parents 6571b6483d2d
children 95dac00e9330
line wrap: on
line source

// This file (RaceTests.cs) is a part of the IBBoard.WarFoundry.API.Tests project and is copyright 2011 IBBoard
// 
// 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.
using System;
using NUnit.Framework;
using IBBoard.WarFoundry.API.Objects.Mock;
using NUnit.Framework.SyntaxHelpers;

namespace IBBoard.WarFoundry.API.Objects
{
	[TestFixture()]
	public class RaceTests
	{
		[Test()]
		public void TestRaceWithNoUnitTypesHasNoRequirements()
		{
			Assert.That(new MockRace().GetRequirements(), Has.Count(0));
		}
	}
}