Created
April 21, 2014 19:14
-
-
Save bjartwolf/11153238 to your computer and use it in GitHub Desktop.
2.5.4.fs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let VolumeA0IsPyramid ((h:decimal<m>), (b:decimal<m>)) = | |
RoundM3(V h 0m<m> b) = RoundM3( b * b * h / 3m ) | |
Check.Quick (Prop.forAll twoDecimals VolumeA0IsPyramid) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment