org.scalatest.matchers.Matchers

class ResultOfGreaterThanComparison

[source: org/scalatest/matchers/Matchers.scala]

final class ResultOfGreaterThanComparison[T](val right : T, implicit view$10 : (T) => scala.Ordered[T])
extends AnyRef
This class is part of the ScalaTest matchers DSL. Please see the documentation for ShouldMatchers or MustMatchers for an overview of the matchers DSL.
Author
Bill Venners
Method Summary
def apply (left : T) : Boolean
This method is invoked by be methods to which instances of this class are passed, which enables syntax such as:
     result should not be > (7)
                       ^  ... invoked by this be method
     
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
def apply(left : T) : Boolean
This method is invoked by be methods to which instances of this class are passed, which enables syntax such as:
     result should not be > (7)
                       ^  ... invoked by this be method
     

or

     num should (not be > (10) and not be < (7))
                     ^  ... invoked by this be method
     


Copyright (C) 2001-2009 Artima, Inc. All rights reserved.