Computer Programming
Using Sprout and Wrap Techniques
Sprout techniques involve creating new methods or classes to encapsulate additional functionality or refactored behavior. These techniques help to safely introduce changes while preserving existing behavior, minimizing risks, and improving testability. In this course we will use sprout techniques with methods and objects to refactor or expand capabilities.
C++
GoogleTest
6 lessons
27 practices
4 hours
Course details
Implementing Order Processing with Surcharges
Testing the Order Surcharge Logic
Testing Surcharge Processing with Empty Orders
Implementing Parameterized Tests for Negative Surcharge Validation
Parameterized Tests for Valid Surcharges

Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal