예제 #1
0
        public void Test100()
        {
            //Given
            var pf = new PicoFarads(10);

            //When
            var sut = (CapacitanceNumberingSystem)pf;

            //Then
            Assert.Equal(100, actual: sut.CapacitanceCode);
            Assert.Equal(0.01, ((NanoFarads)sut).Value);
            Assert.Equal(0.00001, ((MicroFarads)sut).Value);
        }
예제 #2
0