From 962546436d0a4c693930a9f1965520e90c3096cd Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Wed, 10 Aug 2022 14:04:28 +0200 Subject: [PATCH] QA test for LegacyLaserDriver: modify a parameter to pass QA on W10. --- qa/unittests/eeschema/test_netlist_exporter_spice.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/qa/unittests/eeschema/test_netlist_exporter_spice.cpp b/qa/unittests/eeschema/test_netlist_exporter_spice.cpp index 3914fae41b..c47bbea294 100644 --- a/qa/unittests/eeschema/test_netlist_exporter_spice.cpp +++ b/qa/unittests/eeschema/test_netlist_exporter_spice.cpp @@ -337,8 +337,11 @@ BOOST_AUTO_TEST_CASE( CmosNot ) BOOST_AUTO_TEST_CASE( LegacyLaserDriver ) { TestNetlist( "legacy_laser_driver" ); + // Test D1 current before the pulse TestTranPoint( 95e-9, { { "I(D1)", 0 } } ); - TestTranPoint( 110e-9, { { "I(D1)", 725e-3 } } ); + // Test D1 current during the pulse + TestTranPoint( 110e-9, { { "I(D1)", 0.770 } }, 0.1 ); + // Test D1 current after the pulse TestTranPoint( 150e-9, { { "I(D1)", 0 } } ); }