コード例 #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);
        }
コード例 #2
0
        public void GenericConstructorTest()
        {
            var c = new GenericConsideration();

            Assert.IsNotNull(c);
        }
コード例 #3
0
 GenericConsideration(GenericConsideration other) : base(other)
 {
 }