public void CalculateBaseSetThrowsExceptionIfNoValueIsZero()
        {
            var values = new List <NodeValue?> {
                new NodeValue(0, 5), new NodeValue(0, 44)
            };

            Assert.Throws <NotSupportedException>(() => NodeValueAggregators.CalculateBaseSet(values));
        }
        public void CalculateOverrideThrowsExceptionIfNoValueIsZero()
        {
            var values = new double?[] { 42, 43, null, 4, -3 }.Select(v => (NodeValue?)v).ToList();

            Assert.Throws <NotSupportedException>(() => NodeValueAggregators.CalculateTotalOverride(values));
        }