Ejemplo n.º 1
0
        public void JlpHardwareVersion_FromNullDisplayString_ProvidesHardwareversionNone()
        {
            var jlpHardwareVersion = JlpHardwareVersionHelpers.FromDisplayString(null);

            Assert.Equal(JlpHardwareVersion.None, jlpHardwareVersion);
        }
Ejemplo n.º 2
0
        public void JlpHardwareVersion_FromBogusDisplayString_ProvidesHardwareversionNone()
        {
            var jlpHardwareVersion = JlpHardwareVersionHelpers.FromDisplayString("~!)(!~ Derp");

            Assert.Equal(JlpHardwareVersion.None, jlpHardwareVersion);
        }
Ejemplo n.º 3
0
        public void JlpHardwareVersion_FromDisplayString_ProvidesCorrectValue(JlpHardwareVersion expectedJlpHardwareVersion, string displayString)
        {
            var jlpHardwareVersion = JlpHardwareVersionHelpers.FromDisplayString(displayString);

            Assert.Equal(expectedJlpHardwareVersion, jlpHardwareVersion);
        }