mirror of
https://github.com/Doctorado-ML/mufs.git
synced 2025-08-17 16:45:53 +00:00
Stub project
This commit is contained in:
3
cfs/Selection.py
Normal file
3
cfs/Selection.py
Normal file
@@ -0,0 +1,3 @@
|
||||
class CFS:
|
||||
def __init__(self, a):
|
||||
self.a = a
|
9
cfs/__init__.py
Normal file
9
cfs/__init__.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from .Selection import CFS
|
||||
|
||||
__version__ = "0.1"
|
||||
__author__ = "Ricardo Montañana Gómez"
|
||||
__author_email__ = "Ricardo.Montanana@alu.uclm.es"
|
||||
__copyright__ = "Copyright 2021, Ricardo Montañana Gómez"
|
||||
__license__ = "MIT License"
|
||||
|
||||
__all__ = ["CFS"]
|
16
cfs/tests/CFS_test.py
Normal file
16
cfs/tests/CFS_test.py
Normal file
@@ -0,0 +1,16 @@
|
||||
import unittest
|
||||
|
||||
from ..Selection import CFS
|
||||
|
||||
|
||||
class CFS_test(unittest.TestCase):
|
||||
def __init__(self, *args, **kwargs):
|
||||
super().__init__(*args, **kwargs)
|
||||
|
||||
# @classmethod
|
||||
# def setup(cls):
|
||||
# pass
|
||||
|
||||
def test_initial(self):
|
||||
cfs = CFS(a=1)
|
||||
self.assertEqual(cfs.a, 1)
|
3
cfs/tests/__init__.py
Normal file
3
cfs/tests/__init__.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from .CFS_test import CFS_test
|
||||
|
||||
__all__ = ["CFS_test"]
|
Reference in New Issue
Block a user