labs.testing.CloseToMatcher Extends
The CloseTo matcher.

Inheritance

Constructor

goog.labs.testing.CloseToMatcher(valuerange)

Parameters

value : number
The value to compare.
range : number
The range to check within.

Instance Methods

Public Protected Private
describe()
No description.
code »
matches()
Determines if input value is within a certain range of the expected value.
code »

Instance Properties

range_ :
No description.
Code »
value_ :
No description.
Code »

Package labs.testing

Package Reference