NCATComp410 / comp410_fall_2020

Repository for COMP410 Fall 2020 Semester
GNU General Public License v3.0
0 stars 20 forks source link

Implement Unit Tests for show memory region #74

Closed shayla11 closed 4 years ago

shayla11 commented 4 years ago

Implement Unit Tests for show memory region. Attached (and pasted below) is the test result!

========================================================================= test session starts ========================================================================== platform darwin -- Python 3.8.5, pytest-6.1.1, py-1.9.0, pluggy-0.13.1 rootdir: /Users/shayla/Documents/SoftwareEngineering/Cisco/comp410_fall_2020 plugins: cov-2.10.1 collected 13 items

asa_parser/tests/test_parser.py ............. [100%]

---------- coverage: platform darwin, python 3.8.5-final-0 ----------- Name Stmts Miss Cover

asa_parser/init.py 2 0 100% asa_parser/src/asa_parse.py 52 13 75% asa_parser/src/shtech_parse.py 27 1 96% asa_parser/tests/init.py 0 0 100% asa_parser/tests/test_parser.py 48 1 98%

TOTAL 129 15 88%

========================================================================== 13 passed in 0.24s ==========================================================================

Screen Shot 2020-11-05 at 2 16 01 PM