Functions | Variables
test_utils Namespace Reference

Detailed Description

==============================================================================

  This file is part of GNSSTk, the ARL:UT GNSS Toolkit.

  The GNSSTk is free software; you can redistribute it and/or modify
  it under the terms of the GNU Lesser General Public License as published
  by the Free Software Foundation; either version 3.0 of the License, or
  any later version.

  The GNSSTk is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU Lesser General Public License for more details.

  You should have received a copy of the GNU Lesser General Public
  License along with GNSSTk; if not, write to the Free Software Foundation,
  Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA

  This software was developed by Applied Research Laboratories at the
  University of Texas at Austin.
  Copyright 2004-2022, The Board of Regents of The University of Texas System

==============================================================================

==============================================================================

  This software was developed by Applied Research Laboratories at the
  University of Texas at Austin, under contract to an agency or agencies
  within the U.S. Department of Defense. The U.S. Government retains all
  rights to use, duplicate, distribute, disclose, or release this software.

  Pursuant to DoD Directive 523024

  DISTRIBUTION STATEMENT A: This software has been approved for public
                        release, distribution is unlimited.

==============================================================================

Functions

def assertSequenceAlmostEqual (test_case, l1, l2, **kwargs)
 
def run_unit_tests ()
 
def vec_to_list (s)
 

Variables

 args = None
 

Function Documentation

◆ assertSequenceAlmostEqual()

def test_utils.assertSequenceAlmostEqual (   test_case,
  l1,
  l2,
**  kwargs 
)
Compare two lists of elements where the elements are almost equal to each other

Uses `assertAlmostEqual` to compare elements between `l1` and `l2`.
`l1` and `l2` must be equal in length.

Definition at line 76 of file test_utils.py.

◆ run_unit_tests()

def test_utils.run_unit_tests ( )
A function to run unit tests without using the argument parsing of
unittest.main() 

Definition at line 51 of file test_utils.py.

◆ vec_to_list()

def test_utils.vec_to_list (   s)
A kludge since many swigged gnsstk objects are not properly iterable

Definition at line 88 of file test_utils.py.

Variable Documentation

◆ args

test_utils.args = None

Definition at line 48 of file test_utils.py.



gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:46