Skip to Content.
Sympa Menu

ndt-dev - [ndt-dev] Re: Issue 98 in ndt: Same code for IF and ELSE branches in code printing test results.

Subject: NDT-DEV email list created

List archive

[ndt-dev] Re: Issue 98 in ndt: Same code for IF and ELSE branches in code printing test results.


Chronological Thread 
  • From:
  • To:
  • Subject: [ndt-dev] Re: Issue 98 in ndt: Same code for IF and ELSE branches in code printing test results.
  • Date: Thu, 21 Nov 2013 12:37:40 +0000


Comment #1 on issue 98 by : Same code for IF and ELSE branches in code printing test results.
http://code.google.com/p/ndt/issues/detail?id=98

This code fragment looked like this some time ago, so there was a small difference between IF and ELSE branches:

if ((tests & TEST_C2S) == TEST_C2S) {
if (c2sspd > sc2sspd) {
if (sc2sspd < (c2sspd * (1.0 - VIEW_DIFF))) {
statistics.append("C2S throughput test: Excessive packet queuing detected: " + prtdbl(100 * (c2sspd - sc2sspd) / c2sspd) + "%\n");
}
else {
statistics.append("C2S throughput test: Packet queuing detected: " + prtdbl(100 * (c2sspd - sc2sspd) / c2sspd) + "%\n");
}
}
}

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings



Archive powered by MHonArc 2.6.16.

Top of Page