Friday, January 30, 2009

Fact about Pizza.

I find this test as amusing as it's silly:
#light

open Pencil.Unit

Fact "Pizza should have cheese."
    ("Pizza" |> Should (Contain "Cheese"))
And the output:
Pizza should have cheese. Failed with "Pizza" doesn't contain "Cheese".

No comments:

Post a Comment