Mercurial > repos > IBBoard.WarFoundry.API.Tests
comparison testdata/single-unit-two-categories.racex @ 51:9d68b5dd70b3
Re #270: Add multiple categories to API
* Add test for unit being in multiple categories
Also:
* Add assertions in other tests that unit is cached in army
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 19 May 2010 19:22:20 +0000 |
parents | |
children | c6e5b8a1948d |
comparison
equal
deleted
inserted
replaced
50:d3519f38a0f4 | 51:9d68b5dd70b3 |
---|---|
1 <?xml version="1.0" encoding="UTF-8"?> | |
2 <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"> | |
3 <units> | |
4 <unit id="Empire1" typeName="Empire General" cat="cat1" points="100" maxNum="1" maxSize="1"> | |
5 <stats> | |
6 <stat name="M">4</stat> | |
7 <stat name="WS">6</stat> | |
8 <stat name="BS">6</stat> | |
9 <stat name="S">4</stat> | |
10 <stat name="T">4</stat> | |
11 <stat name="W">3</stat> | |
12 <stat name="I">6</stat> | |
13 <stat name="A">4</stat> | |
14 <stat name="Ld">9</stat> | |
15 </stats> | |
16 <unitCategories> | |
17 <unitCategory catID="cat1" /> | |
18 <unitCategory catID="cat2" /> | |
19 </unitCategories> | |
20 </unit> | |
21 </units> | |
22 </race> |