testing.style.layoutasserts

Classes


Public Protected Private

Global Functions

goog.testing.style.layoutasserts.isWithinThreshold_(val1val2threshold) boolean
Returns true if the difference between val1 and val2 is less than or equal to the threashold.
Arguments:
val1 : number
The first value.
val2 : number
The second value.
threshold : number
The threshold value.
Returns: boolean  Whether or not the the values are within the threshold.
code »

Package testing.style

Package Reference