Blame view

tests/test_guitastro.py 552 Bytes
6a9e1893   Alain Klotz   Work before holli...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import doctest
import sys
import os

sys.path.append(os.path.abspath('../..'))


# Unitary tests

import guitastro

doctest.testmod(guitastro.angles)
#guitastro.angles.Angle().infos("doctest")

doctest.testmod(guitastro.coords)
#guitastro.coords.Coords().infos("doctest")

doctest.testmod(guitastro.dates)
#doctest.testmod(guitastro.dates, verbose=True)
#guitastro.dates.Date().infos("doctest")

guitastro.durations.Duration().infos("doctest")
#doctest.testmod(guitastro.durations)


# Add here other more complicated tests