unittest (1) 썸네일형 리스트형 [unittest] Unit Testing Our Code 1. What is Unit Testing? Unit testing is a method for testing software that looks at the smallest testable pieces of code, called units, which are tested for correct operation. By doing unit testing, we can verify that each part of the code, including helper functions may not be exposed to the user, works correctly and as intended. # calc.py def add(x, y): """Add Function""" return x + y def sub.. 이전 1 다음