Classes in this File | Line Coverage | Branch Coverage | Complexity | |||||||
TestFactoryImpl |
|
| 1.0;1 |
1 | /* |
|
2 | * Copyright 2005 The Apache Software Foundation. |
|
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 org.apache.commons.math.stat.inference; |
|
17 | ||
18 | /** |
|
19 | * A concrete inference test factory. This is the default factory used by |
|
20 | * Commons-Math. |
|
21 | * |
|
22 | * @since 1.1 |
|
23 | * @version $Revision$ $Date: 2005-07-04 16:30:05 -0700 (Mon, 04 Jul 2005) $ |
|
24 | */ |
|
25 | public class TestFactoryImpl extends TestFactory { |
|
26 | ||
27 | /** |
|
28 | * Default constructor. |
|
29 | */ |
|
30 | public TestFactoryImpl() { |
|
31 | 12 | super(); |
32 | 12 | } |
33 | ||
34 | /** |
|
35 | * Create a TTest instance. |
|
36 | * |
|
37 | * @return a new TTest instance |
|
38 | */ |
|
39 | public TTest createTTest() { |
|
40 | 6 | return new TTestImpl(); |
41 | } |
|
42 | ||
43 | /** |
|
44 | * Create a ChiSquareTest instance. |
|
45 | * |
|
46 | * @return a new ChiSquareTest instance |
|
47 | */ |
|
48 | public ChiSquareTest createChiSquareTest() { |
|
49 | 6 | return new ChiSquareTestImpl(); |
50 | } |
|
51 | ||
52 | } |