benchmarks/matrix-multiplication/src/main/resources/org/apidesign/benchmark/matrixmul/multiplication-test.js
author Martin Soch <Martin.Soch@oracle.com>
Fri, 11 Jan 2013 16:07:55 +0100
brancharithmetic
changeset 426 b5c5d51ddc4b
parent 311 84c05018e079
permissions -rw-r--r--
putting back JavaScript version of String.hashCode()
jaroslav@314
     1
/*
jaroslav@314
     2
 * Back 2 Browser Bytecode Translator
jaroslav@314
     3
 * Copyright (C) 2012 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
jaroslav@314
     4
 *
jaroslav@314
     5
 * This program is free software: you can redistribute it and/or modify
jaroslav@314
     6
 * it under the terms of the GNU General Public License as published by
jaroslav@314
     7
 * the Free Software Foundation, version 2 of the License.
jaroslav@314
     8
 *
jaroslav@314
     9
 * This program is distributed in the hope that it will be useful,
jaroslav@314
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
jaroslav@314
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
jaroslav@314
    12
 * GNU General Public License for more details.
jaroslav@314
    13
 *
jaroslav@314
    14
 * You should have received a copy of the GNU General Public License
jaroslav@314
    15
 * along with this program. Look for COPYING file in the top folder.
jaroslav@314
    16
 * If not, see http://opensource.org/licenses/GPL-2.0.
jaroslav@314
    17
 */
Martin@268
    18
MatrixTest = TestCase("MatrixTest");
Martin@268
    19
jaroslav@311
    20
Martin@268
    21
MatrixTest.prototype.testMultiplication = function() {
jaroslav@311
    22
  var vm = new bck2brwsr();
jaroslav@311
    23
  var x = vm.loadClass("org.apidesign.benchmark.matrixmul.Main");
Martin@268
    24
  x.main__V_3Ljava_lang_String_2(null);
Martin@268
    25
};