TEST(ModMatchExpression, Equality1) {
    ModMatchExpression m1;
    ModMatchExpression m2;
    ModMatchExpression m3;
    ModMatchExpression m4;

    m1.init("a", 1, 2).transitional_ignore();
    m2.init("a", 2, 2).transitional_ignore();
    m3.init("a", 1, 1).transitional_ignore();
    m4.init("b", 1, 2).transitional_ignore();

    ASSERT(m1.equivalent(&m1));
    ASSERT(!m1.equivalent(&m2));
    ASSERT(!m1.equivalent(&m3));
    ASSERT(!m1.equivalent(&m4));
}
TEST(ModMatchExpression, Equality1) {
    ModMatchExpression m1;
    ModMatchExpression m2;
    ModMatchExpression m3;
    ModMatchExpression m4;

    m1.init("a", 1, 2).transitional_ignore();
    m2.init("a", 2, 2).transitional_ignore();
    m3.init("a", 1, 1).transitional_ignore();
    m4.init("b", 1, 2).transitional_ignore();

    ASSERT(m1.equivalent(&m1));
    ASSERT(!m1.equivalent(&m2));
    ASSERT(!m1.equivalent(&m3));
    ASSERT(!m1.equivalent(&m4));
}