← Back to all workGitHubLearning and foundations
Quantity Measurements
C# unit-conversion and comparison exercises for length, volume, weight, and temperature.
THE PROBLEM
What it sets out
to solve.
Model quantities and compare values across units.
THE APPROACH
How it comes
together.
Domain classes encode unit conversion rules and a paired test project checks representative conversions and equivalence cases.
UNDER THE HOOD
Follow the workflow.
Trace the components.
Select a node for its role in the system.
Documented implementation workflow4 COMPONENTS
INTERACTIVE 3DQuantity Measurements
C#.NETUnit testing
Quantity Measurements / workflow
Move to tilt · Drag to rotate · Arrow keysDrag to rotate · Tap a component4 components · 3 connections
2D diagram
Trace connections 3 relationships
- Quantity and unit→Conversion rules
- Conversion rules→Normalized or compared value
- Normalized or compared value→Unit-test result
+Select a component to see how it fits into the system.
CAPABILITIES
What’s inside.
- 01
Length, volume, weight, temperature models
- 02
Conversions and comparisons
- 03
Separate unit-test project