Draw a control flow diagram of the code. and design test cases for basic path and D-U path testing. Also, develop j unit tests for both. Will provide more detail when accepted. The code is about calcualting the occupency rate in a hotel from floor 10 to 16 skipping floor 13. The code is provided and I will be with you for any questions, just struggling with J unit right now, and need those asap. The code is less than 40 lines and it’s very easy. Just facing a problem with JUnit.
Draw a control flow diagram of the code. and design test cases for basic path and D-U path testing. Also, develop j unit tests for both. Will provide more detail when accepted. The code is about calcualting the occupency rate in a hotel from floor 10 to 16 skipping floor 13. The code is provided and I will be with you for any questions, just struggling with J unit right now, and need those asap. The code is less than 40 lines and it’s very easy. Just facing a problem with JUnit.