Closed ewiebe1 closed 5 years ago
@ewiebe1 I will take a look today.
@ewiebe1 I think you are using some old code of SpiceSharpParser. Please sync with master. For example in the new code there are 608 tests in total.
Sorry, you are right, old code
Used SpiceSharp version: 2.5.7
Error e.g.: Testname: SpiceSharpParser.IntegrationTests.Components.ISwitchTests.PartialOnTest FullName für Test: SpiceSharpParser.IntegrationTests.Components.ISwitchTests.PartialOnTest Testquelle: C:\dev\Projekte\extern\SpiceSharp\SpiceSharpParser\src\SpiceSharpParser.IntegrationTests\Components\ISwitchTests.cs : Zeile 8 Testergebnis: Fehler Testdauer: 0:00:00,008
Ergebnis StackTrace:b0(BaseSimulation simulation, ISimulationEvaluators evaluators, SimulationExpressionContexts contexts) in C:\dev\Projekte\extern\SpiceSharp\SpiceSharpParser\src\SpiceSharpParser\ModelReaders\Netlist\Spice\Context\SimulationPreparations.cs:line 59
at SpiceSharpParser.ModelReaders.Netlist.Spice.Context.SimulationsUpdates.<>cDisplayClass17_0.b 2(Object sender, LoadStateEventArgs args) in C:\dev\Projekte\extern\SpiceSharp\SpiceSharpParser\src\SpiceSharpParser\ModelReaders\Netlist\Spice\Context\Updates\SimulationsUpdates.cs:line 48
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at SpiceSharp.Simulations.BaseSimulation.Load()
at SpiceSharp.Simulations.BaseSimulation.Iterate(Int32 maxIterations)
at SpiceSharp.Simulations.BaseSimulation.Op(Int32 maxIterations)
at SpiceSharp.Simulations.OP.Execute()
at SpiceSharp.Simulations.Simulation.Run(Circuit circuit)
at SpiceSharpParser.IntegrationTests.BaseTests.RunOpSimulation(SpiceNetlistReaderResult readerResult, String nameOfExport) in C:\dev\Projekte\extern\SpiceSharp\SpiceSharpParser\src\SpiceSharpParser.IntegrationTests\BaseTests.cs:line 151
at SpiceSharpParser.IntegrationTests.Components.ISwitchTests.PartialOnTest() in C:\dev\Projekte\extern\SpiceSharp\SpiceSharpParser\src\SpiceSharpParser.IntegrationTests\Components\ISwitchTests.cs:line 21
Ergebnis Meldung: System.Collections.Generic.KeyNotFoundException : The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary
2.get_Item(TKey key) at SpiceSharp.TypeDictionary
1.Get[TResult]() at SpiceSharpParser.ModelReaders.Netlist.Spice.Context.SimulationPreparations.<>cDisplayClass10_0.