Module

Test.StrongCheck.Laws.Data.Eq

Package
purescript-strongcheck-lawsDEPRECATED
Repository
garyb/purescript-strongcheck-laws

#checkEq Source

checkEq :: forall a eff. Arbitrary a => Eq a => Proxy a -> SC eff Unit
  • Reflexivity: x == x = true
  • Symmetry: x == y = y == x
  • Transitivity: if x == y and y == z then x == z
  • Negation: x /= y = not (x == y)