representsArguments method

bool representsArguments(
  1. Fixture fixtureA,
  2. int indexA,
  3. Fixture fixtureB,
  4. int indexB,
)

Implementation

bool representsArguments(
  Fixture fixtureA,
  int indexA,
  Fixture fixtureB,
  int indexB,
) {
  return (this.fixtureA == fixtureA &&
          this.indexA == indexA &&
          this.fixtureB == fixtureB &&
          this.indexB == indexB) ||
      (this.fixtureA == fixtureB &&
          this.indexA == indexB &&
          this.fixtureB == fixtureA &&
          this.indexB == indexA);
}