public void Convert_HydraRingIllustrationPointResultNull_ThrowsArgumentNullException()
        {
            // Call
            void Call() => IllustrationPointResultConverter.Convert(null);

            // Assert
            string paramName = Assert.Throws <ArgumentNullException>(Call).ParamName;

            Assert.AreEqual("hydraRingIllustrationPointResult", paramName);
        }
        public void Convert_ValidArguments_ExpectedProperties()
        {
            // Setup
            var random = new Random(21);
            var hydraRingIllustrationPointResult = new HydraRingIllustrationPointResult("Description",
                                                                                        "-",
                                                                                        random.NextDouble());

            // Call
            IllustrationPointResult illustrationPointResult = IllustrationPointResultConverter.Convert(hydraRingIllustrationPointResult);

            // Assert
            Assert.AreEqual(illustrationPointResult.Description, illustrationPointResult.Description);
            Assert.AreEqual(illustrationPointResult.Unit, illustrationPointResult.Unit);
            Assert.AreEqual(illustrationPointResult.Value, illustrationPointResult.Value, illustrationPointResult.Value.GetAccuracy());
        }