diff testdata/single-unit-one-category-same-main-category.racex @ 50:d3519f38a0f4

Re #270: Add multiple categories to API * Add unit tests and test data for handling multiple categories and existing method
author IBBoard <dev@ibboard.co.uk>
date Tue, 18 May 2010 19:57:44 +0000
parents
children c6e5b8a1948d
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testdata/single-unit-one-category-same-main-category.racex	Tue May 18 19:57:44 2010 +0000
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<race xmlns="http://ibboard.co.uk/warfoundry/race" xmlns:core="http://ibboard.co.uk/warfoundry/core" id="EmpireAlt" name="Empire (Extended)" system="default" lang="en">
+	<units>
+		<unit id="Empire1" typeName="Empire General" cat="cat1" points="100" maxNum="1" maxSize="1">
+			<stats>
+				<stat name="M">4</stat>
+				<stat name="WS">6</stat>
+				<stat name="BS">6</stat>
+				<stat name="S">4</stat>
+				<stat name="T">4</stat>
+				<stat name="W">3</stat>
+				<stat name="I">6</stat>
+				<stat name="A">4</stat>
+				<stat name="Ld">9</stat>
+			</stats>
+			<unitCategories>
+				<unitCategory catID="cat1" />
+			</unitCategories>
+		</unit>
+	</units>
+</race>
\ No newline at end of file