| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Test.TypeSpec
Description
A tiny EDSL to write type-level-unit tests.
- type Expect = TypeSpec
- type Explain does this = TypeSpec (It does this)
- type It's = It
- type IsTheSameAs = ShouldBe
- type Is = ShouldBe
- type TheseAreEqual = ShouldBe
- type IsNot = ShouldNotBe
- type Isn't = ShouldNotBe
- type IsNotTheSameAs = ShouldNotBe
- type IsDifferentFrom = ShouldNotBe
- type TheseAreNotEqual = ShouldNotBe
- type IsTrue = ShouldBeTrue
- type Therefore = ShouldBeTrue
- type And = ShouldBeTrue
- type IsFalse = ShouldBeFalse
- type They message expectations = It message expectations
- type Describe = It
- type Context = It
Documentation
type IsTheSameAs = ShouldBe Source #
type TheseAreEqual = ShouldBe Source #
type IsNot = ShouldNotBe Source #
type Isn't = ShouldNotBe Source #
type IsNotTheSameAs = ShouldNotBe Source #
type IsDifferentFrom = ShouldNotBe Source #
type TheseAreNotEqual = ShouldNotBe Source #
type IsTrue = ShouldBeTrue Source #
type Therefore = ShouldBeTrue Source #
type And = ShouldBeTrue Source #
type IsFalse = ShouldBeFalse Source #