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 wrap: on
line diff
--- a/API/Objects/UnitEquipmentLimitTests.cs	Sun Nov 06 20:53:27 2011 +0000
+++ b/API/Objects/UnitEquipmentLimitTests.cs	Sun Nov 06 21:02:00 2011 +0000
@@ -48,6 +48,8 @@
 			Assert.That(UnitEquipmentUtil.GetMaxEquipmentCount(unit, unitEquip2), Is.EqualTo(0));
 			Assert.That(unit.Points, Is.EqualTo(33));
 			unit.SetEquipmentRatio(unitEquip2, 0.7);
+			//FIXME: Current values based on pre-Ticket 366 expectations (adding equipment that rounds up
+			//   adds to amount, even if it goes over the limit)
 			Assert.That(unit.GetEquipmentAmountInSlot("slot"), Is.EqualTo(2));
 			Assert.That(unit.Points, Is.EqualTo(35));
 		}