# Path: py/fiberassign/test/simulate.py
# def sim_data_dir():
# def test_subdir_create(name):
# def sim_science_fractions():
# def sim_focalplane(rundate=None, fakepos=False):
# def sim_stuck_sky(dirnm, hw, tiles):
#     def radec2xyz(r, d):
# def sim_tiles(path, selectfile=None):
# def sim_targets(path, tgtype, tgoffset, density=5000.0, science_frac=None):
# def petal_rotation(npos, reverse=False):
#         J = np.flatnonzero(r2 < maxr2)


import os
import unittest
from fiberassign.hardware import load_hardware
from fiberassign.tiles import load_tiles
from .simulate import (
    test_subdir_create,
    sim_tiles,
    test_assign_date
)
from astropy.table import Table
from astropy.time import Time
"""
Test fiberassign tile operations.
"""








class TestTiles(unittest.TestCase):

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def test_read(self):

# Path: py/fiberassign/test/simulate.py
# def sim_data_dir():
# def test_subdir_create(name):
# def sim_science_fractions():
# def sim_focalplane(rundate=None, fakepos=False):
# def sim_stuck_sky(dirnm, hw, tiles):
#     def radec2xyz(r, d):
# def sim_tiles(path, selectfile=None):
# def sim_targets(path, tgtype, tgoffset, density=5000.0, science_frac=None):
# def petal_rotation(npos, reverse=False):
#         J = np.flatnonzero(r2 < maxr2)


# Path: py/fiberassign/test/test_tiles.py
import os
import unittest
from fiberassign.hardware import load_hardware
from fiberassign.tiles import load_tiles
from .simulate import (
    test_subdir_create,
    sim_tiles,
    test_assign_date
)
from astropy.table import Table
from astropy.time import Time

"""
Test fiberassign tile operations.
"""








class TestTiles(unittest.TestCase):

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def test_read(self):

        test_dir = test_subdir_create("tiles_test_read")