All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.cotta.test.assertion.IntegerAssert Maven / Gradle / Ivy

The newest version!
package net.sf.cotta.test.assertion;

import net.sf.cotta.test.matcher.GreaterThanMatecher;
import net.sf.cotta.test.matcher.LessThanMatcher;

public class IntegerAssert extends BaseAssert {
  public IntegerAssert(int value) {
    super(value);
  }

  public IntegerAssert lt(int expected) {
    matches(new LessThanMatcher(expected));
    return this;
  }

  public IntegerAssert gt(int expected) {
    matches(new GreaterThanMatecher(expected));
    return this;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy