• 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 BigIntegerMathTest_gwt extends com.google.gwt.junit.client.GWTTestCase {
getModuleName()18 @Override public String getModuleName() {
19   return "com.google.common.math.testModule";
20 }
testBinomialOutside()21 public void testBinomialOutside() throws Exception {
22   com.google.common.math.BigIntegerMathTest testCase = new com.google.common.math.BigIntegerMathTest();
23   testCase.testBinomialOutside();
24 }
25 
testBinomialSmall()26 public void testBinomialSmall() throws Exception {
27   com.google.common.math.BigIntegerMathTest testCase = new com.google.common.math.BigIntegerMathTest();
28   testCase.testBinomialSmall();
29 }
30 
testCeilingPowerOfTwo()31 public void testCeilingPowerOfTwo() throws Exception {
32   com.google.common.math.BigIntegerMathTest testCase = new com.google.common.math.BigIntegerMathTest();
33   testCase.testCeilingPowerOfTwo();
34 }
35 
testCeilingPowerOfTwoNegative()36 public void testCeilingPowerOfTwoNegative() throws Exception {
37   com.google.common.math.BigIntegerMathTest testCase = new com.google.common.math.BigIntegerMathTest();
38   testCase.testCeilingPowerOfTwoNegative();
39 }
40 
testCeilingPowerOfTwoZero()41 public void testCeilingPowerOfTwoZero() throws Exception {
42   com.google.common.math.BigIntegerMathTest testCase = new com.google.common.math.BigIntegerMathTest();
43   testCase.testCeilingPowerOfTwoZero();
44 }
45 
testFactorial()46 public void testFactorial() throws Exception {
47   com.google.common.math.BigIntegerMathTest testCase = new com.google.common.math.BigIntegerMathTest();
48   testCase.testFactorial();
49 }
50 
testFactorial0()51 public void testFactorial0() throws Exception {
52   com.google.common.math.BigIntegerMathTest testCase = new com.google.common.math.BigIntegerMathTest();
53   testCase.testFactorial0();
54 }
55 
testFactorialNegative()56 public void testFactorialNegative() throws Exception {
57   com.google.common.math.BigIntegerMathTest testCase = new com.google.common.math.BigIntegerMathTest();
58   testCase.testFactorialNegative();
59 }
60 
testFloorPowerOfTwo()61 public void testFloorPowerOfTwo() throws Exception {
62   com.google.common.math.BigIntegerMathTest testCase = new com.google.common.math.BigIntegerMathTest();
63   testCase.testFloorPowerOfTwo();
64 }
65 
testFloorPowerOfTwoNegative()66 public void testFloorPowerOfTwoNegative() throws Exception {
67   com.google.common.math.BigIntegerMathTest testCase = new com.google.common.math.BigIntegerMathTest();
68   testCase.testFloorPowerOfTwoNegative();
69 }
70 
testFloorPowerOfTwoZero()71 public void testFloorPowerOfTwoZero() throws Exception {
72   com.google.common.math.BigIntegerMathTest testCase = new com.google.common.math.BigIntegerMathTest();
73   testCase.testFloorPowerOfTwoZero();
74 }
75 
testIsPowerOfTwo()76 public void testIsPowerOfTwo() throws Exception {
77   com.google.common.math.BigIntegerMathTest testCase = new com.google.common.math.BigIntegerMathTest();
78   testCase.testIsPowerOfTwo();
79 }
80 
testLog2Ceiling()81 public void testLog2Ceiling() throws Exception {
82   com.google.common.math.BigIntegerMathTest testCase = new com.google.common.math.BigIntegerMathTest();
83   testCase.testLog2Ceiling();
84 }
85 
testLog2Exact()86 public void testLog2Exact() throws Exception {
87   com.google.common.math.BigIntegerMathTest testCase = new com.google.common.math.BigIntegerMathTest();
88   testCase.testLog2Exact();
89 }
90 
testLog2Floor()91 public void testLog2Floor() throws Exception {
92   com.google.common.math.BigIntegerMathTest testCase = new com.google.common.math.BigIntegerMathTest();
93   testCase.testLog2Floor();
94 }
95 
testLog2HalfDown()96 public void testLog2HalfDown() throws Exception {
97   com.google.common.math.BigIntegerMathTest testCase = new com.google.common.math.BigIntegerMathTest();
98   testCase.testLog2HalfDown();
99 }
100 
testLog2HalfEven()101 public void testLog2HalfEven() throws Exception {
102   com.google.common.math.BigIntegerMathTest testCase = new com.google.common.math.BigIntegerMathTest();
103   testCase.testLog2HalfEven();
104 }
105 
testLog2HalfUp()106 public void testLog2HalfUp() throws Exception {
107   com.google.common.math.BigIntegerMathTest testCase = new com.google.common.math.BigIntegerMathTest();
108   testCase.testLog2HalfUp();
109 }
110 
testLog2NegativeAlwaysThrows()111 public void testLog2NegativeAlwaysThrows() throws Exception {
112   com.google.common.math.BigIntegerMathTest testCase = new com.google.common.math.BigIntegerMathTest();
113   testCase.testLog2NegativeAlwaysThrows();
114 }
115 
testLog2ZeroAlwaysThrows()116 public void testLog2ZeroAlwaysThrows() throws Exception {
117   com.google.common.math.BigIntegerMathTest testCase = new com.google.common.math.BigIntegerMathTest();
118   testCase.testLog2ZeroAlwaysThrows();
119 }
120 }
121