src/buildings/doc/source/buildings-testing.rst
changeset 8556 f859539f5dd3
parent 8554 39c5b84b1ad1
child 8768 e5607ee90a49
equal deleted inserted replaced
8555:2d4c2747a344 8556:f859539f5dd3
    27 
    27 
    28 
    28 
    29 
    29 
    30 Description of the test suites
    30 Description of the test suites
    31 ******************************
    31 ******************************
       
    32 
       
    33 
       
    34 BuildingsHelper test
       
    35 ~~~~~~~~~~~~~~~~~~~~
       
    36 
       
    37 The test suite ``buildings-helper`` checks that the method ``BuildingsHelper::MakeAllInstancesConsistent ()`` works properly, i.e., that the BuildingsHelper is successful in locating if nodes are outdoor or indoor, and if indoor that they are located in the correct building, room and floor. Several test cases are provided with different buildings (having different size, position, rooms and floors) and different node positions. The test passes if each every node is located correctly.
       
    38 
    32 
    39 
    33 Pathloss tests
    40 Pathloss tests
    34 ~~~~~~~~~~~~~~
    41 ~~~~~~~~~~~~~~
    35 
    42 
    36 The test suite ``buildings-pathloss-model`` provides different unit tests that compare the expected results of the buildings pathloss module in specific scenarios with pre calculated values obtained offline with an Octave script (test/reference/buildings-pathloss.m). The tests are considered passed if the two values are equal up to a tolerance of 0.1, which is deemed appropriate for the typical usage of pathloss values (which are in dB).
    43 The test suite ``buildings-pathloss-model`` provides different unit tests that compare the expected results of the buildings pathloss module in specific scenarios with pre calculated values obtained offline with an Octave script (test/reference/buildings-pathloss.m). The tests are considered passed if the two values are equal up to a tolerance of 0.1, which is deemed appropriate for the typical usage of pathloss values (which are in dB).