public void Allocation_AddValue() { Allocation alloc = AllocationsTools.GetAllocation(); alloc.AddValue(new Price(1, Currency.XBT)); Assert.AreEqual(alloc.GetElement(Currency.XBT).Amount, 1 + 1); }