# Path: mimicus/config.py
# def _mkdir_p(path):
# def parse_config():
# 
# Path: mimicus/tools/datasets.py
# def csv2numpy(csv_in):
# def numpy2csv(csv_out, X, y, file_names=None):
# def standardize_csv(csv_in, csv_out, standardizer=None):
#     TOTAL_ROWS = 0
#     X = numpy.array(numpy.zeros((TOTAL_ROWS, FeatureDescriptor.get_feature_count())), dtype=numpy.float64, order='C')


import os
import unittest
from mimicus import config
from mimicus.tools import datasets

Mimicus is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Mimicus 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 General Public License for more details.

You should have received a copy of the GNU General Public License
along with Mimicus.  If not, see <http://www.gnu.org/licenses/>.
##############################################################################
datasets_test.py

Created on May 23, 2013
'''



class datasets_Test(unittest.TestCase):
    '''
    Tests for the mimicus.tools.datasets module.
    '''
    def setUp(self):
        pass
    
    def test_standardize_csv(self):
        datasets.standardize_csv(config.get('datasets_test', 'csv_in'), config.get('datasets_test', 'csv_temp'))

# Path: mimicus/config.py
# def _mkdir_p(path):
# def parse_config():
# 
# Path: mimicus/tools/datasets.py
# def csv2numpy(csv_in):
# def numpy2csv(csv_out, X, y, file_names=None):
# def standardize_csv(csv_in, csv_out, standardizer=None):
#     TOTAL_ROWS = 0
#     X = numpy.array(numpy.zeros((TOTAL_ROWS, FeatureDescriptor.get_feature_count())), dtype=numpy.float64, order='C')


# Path: mimicus/test/datasets_test.py
import os
import unittest
from mimicus import config
from mimicus.tools import datasets


Mimicus is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Mimicus 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 General Public License for more details.

You should have received a copy of the GNU General Public License
along with Mimicus.  If not, see <http://www.gnu.org/licenses/>.
##############################################################################
datasets_test.py

Created on May 23, 2013
'''



class datasets_Test(unittest.TestCase):
    '''
    Tests for the mimicus.tools.datasets module.
    '''
    def setUp(self):
        pass
    
    def test_standardize_csv(self):
        datasets.standardize_csv(config.get('datasets_test', 'csv_in'), config.get('datasets_test', 'csv_temp'))

        os.remove(config.get('datasets_test', 'csv_temp'))