Bug 704

Summary: ns3-wifi-propagation-loss-models
Product: ns-3 Reporter: Tom Henderson <tomh>
Component: wifiAssignee: Tom Henderson <tomh>
Status: RESOLVED FIXED    
Severity: minor CC: craigdo, ns-bugs
Priority: P1    
Version: ns-3-dev   
Hardware: All   
OS: All   

Description Tom Henderson 2009-10-02 01:31:00 UTC
Failing test among the new wifi tests checked in recently.

FAIL: Test Suite "ns3-wifi-propagation-loss-models" (real 0.04 user 0.03 system 0.00)
PASS: Test Case "Check to see that the ns-3 Friis propagation loss model provides correct SNR values" (real 0.03 user 0.02 system 0.00)
FAIL: Test Case "Check to see that the ns-3 Log Distance propagation loss model provides correct SNR values" (real 0.01 user 0.01 system 0.00)
Details:
Message: Got unexpected SNR value
Condition: snr (actual) < testVector.m_snr (limit) + testVector.m_tolerance (tol) && snr (actual) > testVector.m_snr (limit) - testVector.m_tolerance (tol)
Actual: 176.395
Limit: 176.407 +- 0.0005
File: ../src/test/ns3wifi/propagation-loss-models-test-suite.cc
Line: 360
Comment 1 Tom Henderson 2009-10-05 02:05:04 UTC
fixed in changeset: 9c79df567f12
(made the test a unit test and relocated to src/devices/wifi)