VBA-tools / vba-test

Add testing and TDD to VBA on Windows and Mac
MIT License
202 stars 46 forks source link

Fix Mac compatibility #4

Closed timhall closed 10 years ago

timhall commented 10 years ago

CDec is not supported on Mac (seems the entire Decimal type is missing). Comparing two doubles is difficult anyways and should be more explicitly checked with .ToBeCloseTo, but added checking to 22 decimal places (approximates CDec).