Container class for matching success
type stuff in scalaz.Validation
containers,
similar to org.scalatest.OptionValues.Valuable
Container class for matching success
type stuff in scalaz.Validation
containers,
similar to org.scalatest.OptionValues.Valuable
Meant to allow you to make statements like:
result.value should be > 15
Where it only matches if result is Success(9)
Otherwise your test will fail, indicating that it was left instead of right
org.scalatest.OptionValues.Valuable
Implicit conversion that adds a value
method to scalaz.Validation
Implicit conversion that adds a value
method to scalaz.Validation
the scalaz.Validation
on which to add the value
method
Companion object for easy importing – rather than mixing in – to allow
ValidationValues
operations.This will permit you to invoke a
value
method on an instance of ascalaz.Validation
, which attempts to unwrap the right validationSimilar to
org.scalatest.OptionValues.Valuable
Meant to allow you to make statements like:
Where it only matches if result is
Success(9)
Otherwise your test will fail, indicating that it was left instead of right
org.scalatest.OptionValues.Valuable