Skip to content

Commit

Permalink
Still trying to fix coverage stats
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffrey-hokanson committed Apr 8, 2019
1 parent 01021e8 commit 09f3675
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
Empty file added tests/__init__.py
Empty file.
2 changes: 1 addition & 1 deletion tests/test_basis.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
LaguerreTensorBasis,
HermiteTensorBasis)

from checkder import check_jacobian, check_hessian
from .checkder import check_jacobian, check_hessian


def test_equivalence(m = 3, p = 5):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_demos.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from __future__ import print_function
from psdr.demos import GolinskiGearbox, Borehole, OTLCircuit, Piston, RobotArm, WingWeight
from checkder import check_derivative
from .checkder import check_derivative

def test_grad():

Expand Down
2 changes: 1 addition & 1 deletion tests/test_gp.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from __future__ import print_function
import numpy as np
from psdr import GaussianProcess, BoxDomain, Function
from checkder import check_gradient
from .checkder import check_gradient

def test_gp_der(m = 5, M = 50):
np.random.seed(0)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_poly.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import numpy as np

from psdr import PolynomialApproximation, PolynomialFunction, LegendreTensorBasis, BoxDomain
from checkder import *
from .checkder import *

def test_poly_der(dimension = 3, degree = 5):
coef = np.random.randn(len(LegendreTensorBasis(dimension, degree)))
Expand Down
2 changes: 1 addition & 1 deletion tests/test_polyridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import numpy as np
import scipy.linalg
from psdr import PolynomialRidgeApproximation, LegendreTensorBasis, PolynomialRidgeFunction
from checkder import *
from .checkder import *


def test_affine():
Expand Down

0 comments on commit 09f3675

Please sign in to comment.