public void TestSignificanceIsCorrect()
        {
            var comparer = new BespokeTargetPreviousYearEnglandValueComparer(new TargetConfig())
            {
                BenchmarkData = new CoreDataSet {Value = 2}
            };

            Assert.AreEqual(Significance.Better, comparer.CompareAgainstTarget(Data(3)));
            Assert.AreEqual(Significance.Worse, comparer.CompareAgainstTarget(Data(1)));
        }
        public void TestSignificanceIsNoneIfBenchmarkValueNotDefined()
        {
            var comparer = new BespokeTargetPreviousYearEnglandValueComparer(new TargetConfig())
            {
                BenchmarkData = new CoreDataSet { Value = ValueData.NullValue }
            };

            Assert.AreEqual(Significance.None, comparer.CompareAgainstTarget(Data(1)));
        }
 public void TestSignificanceIsNoneIfBenchmarkIsNull()
 {
     var comparer = new BespokeTargetPreviousYearEnglandValueComparer(new TargetConfig());
     Assert.AreEqual(Significance.None, comparer.CompareAgainstTarget(Data(1)));
 }