public void ToSingle_WithValueZero_ReturnsExpectedValue()
        {
            var         input    = GetBytes(0x00, 0x00, 0x00, 0x00);
            const float expected = 0;

            var actual = NumericConverter.ToSingle(input);

            Assert.That(actual, Is.EqualTo(expected));
        }
        public void ToSingle_WithNegativeValue_ReturnsExpectedValue()
        {
            var         input    = GetBytes(0xc2, 0xf6, 0xe9, 0x79);
            const float expected = -123.456f;

            var actual = NumericConverter.ToSingle(input);

            Assert.That(actual, Is.EqualTo(expected));
        }
        public void ToSingle_ForSpecialValues_ReturnsExpectedValue(float expected, byte[] input)
        {
            var actual = NumericConverter.ToSingle(input);

            Assert.That(actual, Is.EqualTo(expected));
        }