Ejemplo n.º 1
0
        public void TestGeneratesNodesWhenRequestingHighId()
        {
            Assert.Equal(1, builder.NodeCount);

            builder.AddDiode(0, 5, DiodeParams.Default);
            Assert.Equal(6, builder.NodeCount);


            builder.SetNodeVoltage(4, 0);
            Assert.Equal(6, builder.NodeCount);
        }