public void InRangeLowerUpperArgumentsNullsMinMaxNotSet(string lower, string upper)
        {
            var dimensionEntry = new DimensionEntry <string>(MethodBase.GetCurrentMethod().Name);

            dimensionEntry.InRange(lower, upper);
            Assert.Fail("The expected exception was not thrown.");
        }
        public void InRangeLowerUpperValueIsNullMinMaxNotSet()
        {
            var dimensionEntry = new DimensionEntry <string>(MethodBase.GetCurrentMethod().Name);

            dimensionEntry.Value = null;
            Assert.IsFalse(dimensionEntry.InRange("A", "Z"));
        }
        public void InRangeValueDataMinMaxNotSetArgumentData(string value, string inRange, bool result)
        {
            var dimensionEntry = new DimensionEntry <string>(MethodBase.GetCurrentMethod().Name);

            dimensionEntry.Value = value;
            Assert.AreEqual(dimensionEntry.InRange(inRange), result);
        }
        private bool InversePeriodRelationsHelper(DateTime startB, DateTime endB)
        {
            var dimensionEntry = new DimensionEntry <DateTime>(MethodBase.GetCurrentMethod().Name);

            dimensionEntry.Min = new DateTime(2020, 12, 31);
            dimensionEntry.Max = new DateTime(2020, 01, 01);
            return(dimensionEntry.InRange(startB, endB));
        }
        public void InRangeLowerUpperValueIsSetMinMaxNotSet()
        {
            var dimensionEntry = new DimensionEntry <string>(MethodBase.GetCurrentMethod().Name);

            dimensionEntry.Value = "M";
            dimensionEntry.InRange("A", "Z");
            Assert.Fail("The expected exception was not thrown.");
        }
        public void InRangeValueNotSetMinMaxAreSetArgumentData(string inRange, bool result)
        {
            var dimensionEntry = new DimensionEntry <string>(MethodBase.GetCurrentMethod().Name);

            dimensionEntry.Min = "CC";
            dimensionEntry.Max = "XX";
            Assert.AreEqual(dimensionEntry.InRange(inRange), result);
        }
        public void InRangeValueNotSetMinMaxNotSetArgumentData(string inRange)
        {
            var dimensionEntry = new DimensionEntry <string>(MethodBase.GetCurrentMethod().Name);

            Assert.IsFalse(dimensionEntry.InRange(inRange));
        }