public void assertNotGreaterThan ( Description description , Double actual , double expected ) { assertNotNull ( description , actual ) ; if ( isGreaterThan ( actual , expected ) ) { throw failures . failure ( description , shouldNotBeGreaterThan ( actual , expected ) ) ; } }
Verifies that the actual value is not greater than the expected .