Simple example and exploratory unit tests showing usage in Groovy with and without support for operator overloading.
To run the demo command line app:
cd groovy-space/uom-groovy
./gradlew run
The output will be displayed to the console.
To run the Spock tests:
cd groovy-space/uom-groovy
./gradlew test
The test results will be in build/reports/tests/index.html