Skip to content

Instantly share code, notes, and snippets.

@monkieboy
Created February 24, 2014 22:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save monkieboy/9198840 to your computer and use it in GitHub Desktop.
Save monkieboy/9198840 to your computer and use it in GitHub Desktop.
namespace ``When running tests the NaturalSpec library``
open NUnit.Framework
open NaturalSpec
open System
module ``Executing these tests will output meaningful result information`` =
let root r = Math.Sqrt r
[<Scenario>]
let ``Maths is fun`` () =
Given 144.0
|> When calculating root
|> It should equal 12.0
|> Verify
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment