Exemplo n.º 1
0
        public void GenericConsiderTest(float value, float weight)
        {
            var c = new GenericConsideration();

            _customContext.BaseUtility = new Utility(value, weight);
            c.Consider(_customContext);
            var retUtil = c.Utility;

            Assert.AreEqual(_customContext.BaseUtility, retUtil);
        }
Exemplo n.º 2
0
        public void GenericConstructorTest()
        {
            var c = new GenericConsideration();

            Assert.IsNotNull(c);
        }
Exemplo n.º 3
0
 GenericConsideration(GenericConsideration other) : base(other)
 {
 }