public void CompareAgainstTarget_Returns_SignificanceBetter_When_Polarity_Is_One()
        {
            // Arrange
            _comparer = GetComparer(_targetConfig);

            // Act
            var result = _comparer.CompareAgainstTarget(new CoreDataSet { Value = 41.2 });

            // Assert
            Assert.AreEqual(Significance.Better, result);
        }
        public void CompareAgainstTarget_Returns_SignificanceNone_When_Polarity_Is_InValid()
        {
            // Arrange
            _targetConfig.PolarityId = -1;
            _comparer = GetComparer(_targetConfig);

            // Act
            var result = _comparer.CompareAgainstTarget(new CoreDataSet { Value = 41.2 });

            // Assert
            Assert.AreEqual(Significance.None, result);
        }
        public void CompareAgainstTarget_Returns_SignificanceNone_When_Targets_AreNull()
        {
            // Arrange
            _comparer = GetComparer(_targetConfig);
            _comparer.LowerTargetPercentileBenchmarkData = null;
            _comparer.UpperTargetPercentileBenchmarkData = null;

            // Act
            var result = _comparer.CompareAgainstTarget(new CoreDataSet { Value = 41.2 });

            // Assert
            Assert.AreEqual(Significance.None, result);
        }