checkSystem method

void checkSystem(
  1. LexoInteger other
)

Implementation

void checkSystem(LexoInteger other) {
  if (!identical(sys.getBase(), other.sys.getBase())) {
    throw AssertionError('Expected numbers of same numeral sys');
  }
}