Note: changed return type of IOhmValueCalculator.CalculateOhmValue to nullable decimal to allow:
- null when unable to calculate (i.e bad input or missing input)
- decimal values for decimal multipliers
- values larger than int.MaxValue
Prerequisites:
- Windows 10 or 11
- .Net 6
- Visual Studio 2022 with latest updates
To run:
- Download or clone project -- master branch
- Open ElectronicColorCodeCalculator.sln in Visual Studio 2017
- Restore NuGet packages for solution
- Clean & rebuild Solution
- Set Startup Project to ElectronicColorCodeCalculator.Mvc
- Run & Test