Public Member Functions | List of all members
tests.test_quaternion.TestQuaternionInitialisation Class Reference
Inheritance diagram for tests.test_quaternion.TestQuaternionInitialisation:
Inheritance graph
[legend]

Public Member Functions

def test_equivalent_initialisations (self)
 
def test_init_copy (self)
 
def test_init_default (self)
 
def test_init_from_array (self)
 
def test_init_from_elements (self)
 
def test_init_from_explicit_arrray (self)
 
def test_init_from_explicit_component (self)
 
def test_init_from_explicit_elements (self)
 
def test_init_from_explicit_matrix (self)
 
def test_init_from_explicit_matrix_with_optional_tolerance_arguments (self)
 
def test_init_from_explicit_rotation_params (self)
 
def test_init_from_list (self)
 
def test_init_from_scalar (self)
 
def test_init_from_tuple (self)
 
def test_init_random (self)
 

Detailed Description

Definition at line 51 of file test_quaternion.py.

Member Function Documentation

def tests.test_quaternion.TestQuaternionInitialisation.test_equivalent_initialisations (   self)

Definition at line 357 of file test_quaternion.py.

def tests.test_quaternion.TestQuaternionInitialisation.test_init_copy (   self)

Definition at line 58 of file test_quaternion.py.

def tests.test_quaternion.TestQuaternionInitialisation.test_init_default (   self)

Definition at line 53 of file test_quaternion.py.

def tests.test_quaternion.TestQuaternionInitialisation.test_init_from_array (   self)

Definition at line 108 of file test_quaternion.py.

def tests.test_quaternion.TestQuaternionInitialisation.test_init_from_elements (   self)

Definition at line 88 of file test_quaternion.py.

def tests.test_quaternion.TestQuaternionInitialisation.test_init_from_explicit_arrray (   self)

Definition at line 342 of file test_quaternion.py.

def tests.test_quaternion.TestQuaternionInitialisation.test_init_from_explicit_component (   self)

Definition at line 175 of file test_quaternion.py.

def tests.test_quaternion.TestQuaternionInitialisation.test_init_from_explicit_elements (   self)

Definition at line 152 of file test_quaternion.py.

def tests.test_quaternion.TestQuaternionInitialisation.test_init_from_explicit_matrix (   self)

Definition at line 280 of file test_quaternion.py.

def tests.test_quaternion.TestQuaternionInitialisation.test_init_from_explicit_matrix_with_optional_tolerance_arguments (   self)
    The matrix defined in this test is orthogonal was carefully crafted
    such that it's orthogonal to a precision of 1e-07, but not to a precision
    of 1e-08. The default value for numpy's atol function is 1e-08, but
    developers should have the option to use a lower precision if they choose
    to.

    Reference: https://docs.scipy.org/doc/numpy/reference/generated/numpy.allclose.html

Definition at line 318 of file test_quaternion.py.

def tests.test_quaternion.TestQuaternionInitialisation.test_init_from_explicit_rotation_params (   self)

Definition at line 226 of file test_quaternion.py.

def tests.test_quaternion.TestQuaternionInitialisation.test_init_from_list (   self)

Definition at line 137 of file test_quaternion.py.

def tests.test_quaternion.TestQuaternionInitialisation.test_init_from_scalar (   self)

Definition at line 75 of file test_quaternion.py.

def tests.test_quaternion.TestQuaternionInitialisation.test_init_from_tuple (   self)

Definition at line 123 of file test_quaternion.py.

def tests.test_quaternion.TestQuaternionInitialisation.test_init_random (   self)

Definition at line 68 of file test_quaternion.py.


The documentation for this class was generated from the following file:


pyquaternion
Author(s): achille
autogenerated on Sun Mar 15 2020 03:13:33