Build: CounterViewModel Test
This screen tests a simple CounterViewModel that increments and resets a count. It ensures the ViewModel logic works correctly without UI.
Target UI
------------------------- | CounterViewModel Test | |-----------------------| | [Test Increment] | | [Test Reset] | |-----------------------| | Results: | | | | | -------------------------
Create a CounterViewModel class with a count property starting at 0
Add increment() method to increase count by 1
Add reset() method to set count back to 0
Write unit tests to verify increment() and reset() behavior
Display test results in console or test output