Fading Coder

One Final Commit for the Last Sprint

Unit Testing with JUnit and EasyMock: Three Practical Examples

Example 1: Pure Java Testing Requirement Build a simple currency fund selector supporting CNY (Chinese Yuan), USD (US Dollar), GBP (British Pound), EUR (Euro), and CAD (Canadian Dollar). The selector algorithm chooses the currency with the highest exchange rate for investmant. This example demonstra...