benchmarks/matrix-multiplication/src/main/resources/org/apidesign/benchmark/matrixmul/multiplication-test.js
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Thu, 13 Dec 2012 08:40:39 +0100
branchbenchmarks
changeset 314 1a3f102e5ea5
parent 311 84c05018e079
permissions -rw-r--r--
Fixing licenses for benchmarks module, so it can be merged to default branch
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
};