Example #1
0
        public void Test2(double number, char system, double output)
        {
            var sut = new TempCon();

            var result = sut.TempConvert(number, system);

            Assert.Equal(output, result);
        }
Example #2
0
        public void Test1()
        {
            var sut      = new TempCon();
            var expected = 0;

            var result = sut.TempConvert(32, 'f');

            Assert.Equal(expected, result);
        }