Package

equate

scalatest

Permalink

package scalatest

Visibility
  1. Public
  2. All

Type Members

  1. trait Equate extends AnyRef

    Permalink

    Make the equate method available (especially in subclass).

    Make the equate method available (especially in subclass).

    Usage example:

    import equate.scalatest.Equate
    import org.scalatest.{Matchers, WordSpec}
    
    class MySpec extends WordSpec with Matchers with Equate {
      "diffs" should {
        "be computed" when {
          "value are unequal" in {
            true should equate(false)
          }
        }
      }
    }

Value Members

  1. object Equate extends Equate

    Permalink

    Make the equate method available for importing.

    Make the equate method available for importing.

    Usage example:

    import equate.scalatest.Equate.equate
    import org.scalatest.{Matchers, WordSpec}
    
    class MySpec extends WordSpec with Matchers {
      "diffs" should {
        "be computed" when {
          "value are unequal" in {
            true should equate(false)
          }
        }
      }
    }

Ungrouped