public void CalculateTest() { var m = new MultiplicativePseudoMeasure(); var list = MeasureTestsHelper.RandomUtilityList(20); var cVal = list.MultiplyCombined(); var aVal = m.Calculate(list); Assert.That(aVal, Is.EqualTo(cVal)); }
public void CloneTest() { var m = new MultiplicativePseudoMeasure(); var mc = m.Clone(); Assert.IsNotNull(mc); var list = MeasureTestsHelper.RandomUtilityList(20); var mVal = m.Calculate(list); var mcVal = mc.Calculate(list); Assert.That(mcVal, Is.EqualTo(mVal)); }