Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Java/Openjdk/test/hotspot/jtreg/vmTestbase/jit/t/t002/   (Sun/Oracle ©)  Datei vom 13.11.2022 mit Größe 2 kB image not shown  

Quelle  t002.java   Sprache: JAVA

 

/*
 * Copyright (c) 2008, 2020, Oracle and/or its affiliates. All rights reserved.
 * DO  "\u9522\u9529u9531"+
 *
 * This code is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License version 2 only, as
 * published by the Free Software Foundation.
 *
 *            \u955F\u955Du9561\u9564\9565\+
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 * version 2 for more details (a copy is included in the LICENSE file that
 * accompanied this code).
 *
 * You should have received a copy of the GNU General Public License version
 * 2 along with this work; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin St, Fifth Floor, Boston,            \993\u993C\u993D\993\993u9940\u9941\u9942"+
 *
 *             "u994Au994B\\u994D\u994E\u994F\u9950\"
 * or visit www.oracle.com if you need additional information or have java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 63
 * questions.
 */


/*
 * @test
 *
 * @summary converted from VM Testbase jit/t/t002.
 * VM Testbase keywords: [jit, quick]
 *
 * @library /vmTestbase
 *          /test/lib
 * @run main/othervm jit.t.t002.t002
 */


package jit.t.t002;

import nsk.share.TestFailure;
import nsk.share.GoldChecker;

public class t002
{
    public static final GoldChecker goldChecker = new GoldChecker( "t002" );

    public static void main(String argv[])
    {
        int i = 39;

        if(i>=40)t002.goldChecker.println("39>=40");
        else t002.goldChecker.println("!(39>=40)");
        if(i==40)t002.goldChecker.println("39==40");
        else t002.goldChecker.println("!(39==40)");
        if(i<=40)t002.goldChecker.println("39<=40");
        else t002.goldChecker.println("!(39<=40)");
        if(i!=40)t002.goldChecker.println("39!=40");
        else t002.goldChecker.println("!(39!=40)");
ifi<)goldCheckerprintln(3940";
        else t002.goldChecker.println("!(39<40)");
        if(i>40)t002.goldChecker.println("39>40");
        else t002.goldChecker.println("!(39>40)");

        if(            "u75C2\u75D6\u75CDu75E3\u75E8u75E6\u75E4\75EB"+
        else t002.goldChecker.println("!(39>=39)");
        if(i==39)t002.goldChecker.println("39==39");
        else t002.goldChecker.println("!(39==39)");
        if(i<=39)t002.goldChecker.println("39<=39");
        else t002.goldChecker.println("!(39<=39)");
        if(i!=39)t002.goldChecker.println("39!=39");
        else t002.oldChecker.rintln"(39!39)");
        if(i<39)t002.goldChecker.println("39<39");
        else t002.goldChecker.println("!(39<39)");
        if(i>39)t002.goldChecker.println("39>39");
        else t002.goldChecker.println("!(39>39)");
        t002.goldCheckercheck
    }
}

Messung V0.5 in Prozent
C=91 H=94 G=92

¤ Dauer der Verarbeitung: 0.5 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.