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); }
public void GenericConstructorTest() { var c = new GenericConsideration(); Assert.IsNotNull(c); }
GenericConsideration(GenericConsideration other) : base(other) { }