Exemple #1
0
        public void GetPackageIdentifierTest()
        {
            int s = 3, e = 15;
            int totalElements = 13;
            var mul           = new Multiplier();
            var result        = mul.GetPackageIdentifier(s, e);

            Assert.AreEqual(totalElements, result.Count);

            string lastIdentifier;

            result.TryGetValue(e, out lastIdentifier);
            Assert.AreEqual(Constants.returnDelivery, lastIdentifier);
        }