Seirdy/func-analysis

View on GitHub
func_analysis/tests/constants.py

Summary

Maintainability
A
0 mins
Test Coverage
# -*- coding: utf-8 -*-

"""Constants to be used in other tests.

This module contains "expected" values to be compared with "actual"
values.
"""

EPSILON0 = 1e-20
EPSILON1 = 3.05e-15
EPSILON2 = 1.1967891e-6

TRIG_FUNC_ZEROS = [
    -47.03828967323613,
    -47.01847323339528,
    -46.97231808765395,
    -46.95073962639791,
    -46.90620451811763,
    -46.88295827091002,
    -46.83995572065834,
    -46.815121707485,
    -46.77357601136888,
    -46.74722492272901,
    -46.70706806296404,
    -46.67926455308085,
    -46.64043337329669,
    -46.61123841622563,
    -46.57367255467036,
    -46.54314522110168,
    -46.50678551962084,
    -46.47498438057483,
    -46.4397716045995,
    -46.40675588504005,
    -46.3726296558751,
]

TRIG_FUNC_CRITS = [
    -47.02840086725213,
    -46.99521617744079,
    -46.961552135996854,
    -46.92831830022715,
    -46.894608617023465,
    -46.86132441636534,
    -46.8275699014784,
    -46.79423411696042,
    -46.7604355752838,
    -46.72704699248236,
    -46.693205219082984,
    -46.65976263275691,
    -46.62587840819566,
    -46.592380626945825,
    -46.558454712583135,
    -46.524900563516226,
    -46.49093369682373,
    -46.457322030198725,
    -46.42331492009863,
    -46.3896446139343,
    -46.35559793618815,
]

TRIG_FUNC_SIGNED_AREA = -0.1835892480368663
TRIG_FUNC_UNSIGNED_AREA = 0.4660336686419773