• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2008 The Guava Authors
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 package com.google.common.math;
17 public class LongMathTest_gwt extends com.google.gwt.junit.client.GWTTestCase {
getModuleName()18 @Override public String getModuleName() {
19   return "com.google.common.math.testModule";
20 }
testBinomial()21 public void testBinomial() throws Exception {
22   com.google.common.math.LongMathTest testCase = new com.google.common.math.LongMathTest();
23   testCase.testBinomial();
24 }
25 
testBinomialNegative()26 public void testBinomialNegative() throws Exception {
27   com.google.common.math.LongMathTest testCase = new com.google.common.math.LongMathTest();
28   testCase.testBinomialNegative();
29 }
30 
testBinomialOutside()31 public void testBinomialOutside() throws Exception {
32   com.google.common.math.LongMathTest testCase = new com.google.common.math.LongMathTest();
33   testCase.testBinomialOutside();
34 }
35 
testGCDExhaustive()36 public void testGCDExhaustive() throws Exception {
37   com.google.common.math.LongMathTest testCase = new com.google.common.math.LongMathTest();
38   testCase.testGCDExhaustive();
39 }
40 
testLessThanBranchFree()41 public void testLessThanBranchFree() throws Exception {
42   com.google.common.math.LongMathTest testCase = new com.google.common.math.LongMathTest();
43   testCase.testLessThanBranchFree();
44 }
45 
testLog2Exact()46 public void testLog2Exact() throws Exception {
47   com.google.common.math.LongMathTest testCase = new com.google.common.math.LongMathTest();
48   testCase.testLog2Exact();
49 }
50 
testLog2MatchesBigInteger()51 public void testLog2MatchesBigInteger() throws Exception {
52   com.google.common.math.LongMathTest testCase = new com.google.common.math.LongMathTest();
53   testCase.testLog2MatchesBigInteger();
54 }
55 
testLog2NegativeAlwaysThrows()56 public void testLog2NegativeAlwaysThrows() throws Exception {
57   com.google.common.math.LongMathTest testCase = new com.google.common.math.LongMathTest();
58   testCase.testLog2NegativeAlwaysThrows();
59 }
60 
testLog2ZeroAlwaysThrows()61 public void testLog2ZeroAlwaysThrows() throws Exception {
62   com.google.common.math.LongMathTest testCase = new com.google.common.math.LongMathTest();
63   testCase.testLog2ZeroAlwaysThrows();
64 }
65 
testSqrtOfLongIsAtMostFloorSqrtMaxLong()66 public void testSqrtOfLongIsAtMostFloorSqrtMaxLong() throws Exception {
67   com.google.common.math.LongMathTest testCase = new com.google.common.math.LongMathTest();
68   testCase.testSqrtOfLongIsAtMostFloorSqrtMaxLong();
69 }
70 }
71