Tests whether this digit is greater than other.
other
bool operator >(Digit other) => toInt() > (other.toInt());