public bool IsLessThan(Pokéset other) { if (Length() < other.Length()) { return(true); } if (Length() == other.Length()) { return(TotalLength() < other.TotalLength()); } return(false); }
private static bool CanAddOneMore(Pokéset newSet) { return(newSet.Length() + 1 == minPokéset.Length() && newSet.TotalLength() + newSet.MissingCharCount() <= minPokéset.TotalLength()); }
static bool CanAddTwoMore(Pokéset set) { return(set.Length() + 1 < minPokéset.Length()); }