changeset 182:e9be63d72b3c

Cross-ref #356 and #366 in code
author IBBoard <dev@ibboard.co.uk>
date Sun, 06 Nov 2011 21:02:00 +0000
parents 49b359624ea5
children bd38c32fb1a9
files API/Objects/UnitEquipmentLimitTests.cs
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line diff
     1.1 --- a/API/Objects/UnitEquipmentLimitTests.cs	Sun Nov 06 20:53:27 2011 +0000
     1.2 +++ b/API/Objects/UnitEquipmentLimitTests.cs	Sun Nov 06 21:02:00 2011 +0000
     1.3 @@ -48,6 +48,8 @@
     1.4  			Assert.That(UnitEquipmentUtil.GetMaxEquipmentCount(unit, unitEquip2), Is.EqualTo(0));
     1.5  			Assert.That(unit.Points, Is.EqualTo(33));
     1.6  			unit.SetEquipmentRatio(unitEquip2, 0.7);
     1.7 +			//FIXME: Current values based on pre-Ticket 366 expectations (adding equipment that rounds up
     1.8 +			//   adds to amount, even if it goes over the limit)
     1.9  			Assert.That(unit.GetEquipmentAmountInSlot("slot"), Is.EqualTo(2));
    1.10  			Assert.That(unit.Points, Is.EqualTo(35));
    1.11  		}