Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
resources:tools-software:sigmastudio:usingsigmastudio:scripting:iscripted_samples [07 Feb 2020 10:38] – [Test the NxM Mixer (Linear)] Venkatesan Krishnamoorthyresources:tools-software:sigmastudio:usingsigmastudio:scripting:iscripted_samples [10 Feb 2020 08:00] – minor correction. Venkatesan Krishnamoorthy
Line 222: Line 222:
  double error = System.Math.Abs(ExpectedResults[outIndx] - ActualResults[outIndx]);  double error = System.Math.Abs(ExpectedResults[outIndx] - ActualResults[outIndx]);
  ss.PrintLine(System.String.Format("Out{0}: Expected = {1:0.00000000000000f}  Actual = {2:0.00000000000000f} Error = {3:0.00000000000000f}", outIndx, ExpectedResults[outIndx], ActualResults[outIndx],error ));  ss.PrintLine(System.String.Format("Out{0}: Expected = {1:0.00000000000000f}  Actual = {2:0.00000000000000f} Error = {3:0.00000000000000f}", outIndx, ExpectedResults[outIndx], ActualResults[outIndx],error ));
- if (error > 0.000001)+ if (error > 0.00001)
  {  {
  isFailed = true;  isFailed = true;
resources/tools-software/sigmastudio/usingsigmastudio/scripting/iscripted_samples.txt · Last modified: 04 Jan 2021 05:04 by Sanjeeva Reddy