# Path: numjuggler/numbering.py
# class _Range(object):
# class LikeFunction(object):
#     def __init__(self, n1, n2=None):
#     def __contains__(self, value):
#     def __str__(self):
#     def __init__(self, pdict, log=False):
#     def __applyD(f, n):
#     def __applyL(f, n):
#     def __get_mapping(self, t):
#     def __call__(self, n, t):
#     def write_log_as_map(self, fname):
# def get_numbers(scards):
# def get_indices(scards):
# def _get_ranges_from_set(nn):
# def read_map_file(fname):
# def _parse_map_line(l):
# def _get_map_ranges(s):


import sys
import numjuggler
import numjuggler.numbering
from numjuggler.numbering import Range
"""
Test module in ./numjuggler without installing it.
"""

sys.path.insert(0, '..')

print numjuggler.__file__

# test Range
print Range(1, 5)
print Range(1)
print Range(5, 1)

# Path: numjuggler/numbering.py
# class _Range(object):
# class LikeFunction(object):
#     def __init__(self, n1, n2=None):
#     def __contains__(self, value):
#     def __str__(self):
#     def __init__(self, pdict, log=False):
#     def __applyD(f, n):
#     def __applyL(f, n):
#     def __get_mapping(self, t):
#     def __call__(self, n, t):
#     def write_log_as_map(self, fname):
# def get_numbers(scards):
# def get_indices(scards):
# def _get_ranges_from_set(nn):
# def read_map_file(fname):
# def _parse_map_line(l):
# def _get_map_ranges(s):


# Path: dev_tests/dev_test.py
import sys
import numjuggler
import numjuggler.numbering
from numjuggler.numbering import Range

"""
Test module in ./numjuggler without installing it.
"""

sys.path.insert(0, '..')

print numjuggler.__file__

# test Range
print Range(1, 5)
print Range(1)
print Range(5, 1)

print 5 in Range(1, 3), 5 in Range(5)