0% found this document useful (0 votes)
30 views

10.1.4 Unit Testing of Explicit Random Algorithm: SL No. of Test Case Name of Test Feature Being Tested Description

The document describes two unit test cases for algorithms that allocate requested data to agents. The first test case verifies an e-random algorithm that randomly allocates a fake object to an eligible agent each iteration. The second test case verifies an e-optimal algorithm that optimally allocates requested data to the agent that yields the greatest improvement in the objective sum. Both test cases had their expected and actual outputs match.

Uploaded by

Gautam Dematti
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views

10.1.4 Unit Testing of Explicit Random Algorithm: SL No. of Test Case Name of Test Feature Being Tested Description

The document describes two unit test cases for algorithms that allocate requested data to agents. The first test case verifies an e-random algorithm that randomly allocates a fake object to an eligible agent each iteration. The second test case verifies an e-optimal algorithm that optimally allocates requested data to the agent that yields the greatest improvement in the objective sum. Both test cases had their expected and actual outputs match.

Uploaded by

Gautam Dematti
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

10.1.

4 Unit testing of explicit random algorithm


Sl No. of Test Case Name of Test Feature being Tested Description Sample Input Expected output Actual output Remarks DLD-UT- 4 Test case to verify e-random algorithm agents that are eligible to receive fake objects Creates one fake object in every iteration and allocates it to random agent. Explicit Request Particularly requested amount of data allocated randomly Same as excepted Good

10.1.5 Unit testing of explicit optimal algorithm


Sl No. of Test Case Name of Test Feature being Tested Description Sample Input Expected output Actual output Remarks DLD-UT- 5 Test case to verify e-optimal algorithm Optimization of requested object allocation select the agent that will yield the greatest improvement in the Sum-objective. Sample Request Requested amount of data allocated optimally Same as excepted Good

You might also like