<commit_before>/*     ____ ____  ____ ____  ______                                     *\
**    / __// __ \/ __// __ \/ ____/    SOcos COmpiles Scala             **
**  __\_ \/ /_/ / /__/ /_/ /\_ \       (c) 2002, LAMP/EPFL              **
** /_____/\____/\___/\____/____/                                        **
\*                                                                      */

// $Id$

package scalac.atree;

import scalac.util.Debug;

/** This class represents a test operation. */
public class ATestOp {

    //########################################################################
    // Public Cases

    /** An equality test */
    public case EQ;

    /** A non-equality test */
    public case NE;

    /** A less-than test */
    public case LT;

    /** A greater-than-or-equal test */
    public case GE;

    /** A less-than-or-equal test */
    public case LE;

    /** A greater-than test */
    public case GT;

    //########################################################################
    // Public Methods

    /** Returns the negation of this operation. */
    public ATestOp negate() {
        switch (this) {
        case EQ: return NE;
        case NE: return EQ;
        case LT: return GE;
        case GE: return LT;
        case LE: return GT;
        case GT: return LE;
        default: throw Debug.abort("unknown case", this);
        }
    }

    /** Returns a string representation of this operation. */
    public String toString() {
        switch (this) {
        case EQ: return "NE";
        case NE: return "EQ";
        case LT: return "GE";
        case GE: return "LT";
        case LE: return "GT";
        case GT: return "LE";
        default: throw Debug.abort("unknown case", this);
        }
    }

    //########################################################################
}
<commit_msg>- Fixed method toString<commit_after>/*     ____ ____  ____ ____  ______                                     *\
**    / __// __ \/ __// __ \/ ____/    SOcos COmpiles Scala             **
**  __\_ \/ /_/ / /__/ /_/ /\_ \       (c) 2002, LAMP/EPFL              **
** /_____/\____/\___/\____/____/                                        **
\*                                                                      */

// $Id$

package scalac.atree;

import scalac.util.Debug;

/** This class represents a test operation. */
public class ATestOp {

    //########################################################################
    // Public Cases

    /** An equality test */
    public case EQ;

    /** A non-equality test */
    public case NE;

    /** A less-than test */
    public case LT;

    /** A greater-than-or-equal test */
    public case GE;

    /** A less-than-or-equal test */
    public case LE;

    /** A greater-than test */
    public case GT;

    //########################################################################
    // Public Methods

    /** Returns the negation of this operation. */
    public ATestOp negate() {
        switch (this) {
        case EQ: return NE;
        case NE: return EQ;
        case LT: return GE;
        case GE: return LT;
        case LE: return GT;
        case GT: return LE;
        default: throw Debug.abort("unknown case", this);
        }
    }

    /** Returns a string representation of this operation. */
    public String toString() {
        switch (this) {
        case EQ: return "EQ";
        case NE: return "NE";
        case LT: return "LT";
        case GE: return "GE";
        case LE: return "LE";
        case GT: return "GT";
        default: throw Debug.abort("unknown case", this);
        }
    }

    //########################################################################
}

{'fraction_non_alphanumeric': 0.22959183673469388, 'fraction_numerical': 0.0021482277121374865, 'mean_word_length': 1.5426621160409557, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4492279', 'n_tokens_mistral': 1025, 'n_tokens_neox': 947, 'n_words': 287}