blob: 3ea1ac1062fdd63202fff0dc42358090aed5b669 [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.sysds.test.applications;
import org.junit.Test;
import org.apache.sysds.common.Types.ExecMode;
/**
* Tests of univariate statistics built-in functions.
* <p>DOES test optional weight parameters to these functions
* <p>Tests functions on DENSE data
*/
public class UnivariateWeightedScaleDenseTest extends UnivariateStatsBase
{
public UnivariateWeightedScaleDenseTest() {
super();
TEST_CLASS_DIR = TEST_DIR + UnivariateWeightedScaleDenseTest.class.getSimpleName() + "/";
}
// -------------------------------------------------------------------------------------
// Tests 1-12 moved to UnivariateWeightedScaleSparseTest.java
// -------------------------------------------------------------------------------------
@Test
public void testWeightedScale13() {
testWeightedScaleWithR(SIZE.DIV4, RANGE.NEG, SPARSITY.DENSE, ExecMode.HYBRID);
}
@Test
public void testWeightedScale14() {
testWeightedScaleWithR(SIZE.DIV4P1, RANGE.NEG, SPARSITY.DENSE, ExecMode.HYBRID);
}
@Test
public void testWeightedScale15() {
testWeightedScaleWithR(SIZE.DIV4P3, RANGE.NEG, SPARSITY.DENSE, ExecMode.HYBRID);
}
@Test
public void testWeightedScale16() {
testWeightedScaleWithR(SIZE.DIV4P3, RANGE.NEG, SPARSITY.DENSE, ExecMode.HYBRID);
}
@Test
public void testWeightedScale17() {
testWeightedScaleWithR(SIZE.DIV4, RANGE.MIXED, SPARSITY.DENSE, ExecMode.HYBRID);
}
@Test
public void testWeightedScale18() {
testWeightedScaleWithR(SIZE.DIV4P1, RANGE.MIXED, SPARSITY.DENSE, ExecMode.HYBRID);
}
@Test
public void testWeightedScale19() {
testWeightedScaleWithR(SIZE.DIV4P3, RANGE.MIXED, SPARSITY.DENSE, ExecMode.HYBRID);
}
@Test
public void testWeightedScale20() {
testWeightedScaleWithR(SIZE.DIV4P3, RANGE.MIXED, SPARSITY.DENSE, ExecMode.HYBRID);
}
@Test
public void testWeightedScale21() {
testWeightedScaleWithR(SIZE.DIV4, RANGE.POS, SPARSITY.DENSE, ExecMode.HYBRID);
}
@Test
public void testWeightedScale22() {
testWeightedScaleWithR(SIZE.DIV4P1, RANGE.POS, SPARSITY.DENSE, ExecMode.HYBRID);
}
@Test
public void testWeightedScale23() {
testWeightedScaleWithR(SIZE.DIV4P3, RANGE.POS, SPARSITY.DENSE, ExecMode.HYBRID);
}
@Test
public void testWeightedScale24() {
testWeightedScaleWithR(SIZE.DIV4P3, RANGE.POS, SPARSITY.DENSE, ExecMode.HYBRID);
}
}