# Path: clusterpy/core/toolboxes/cluster/componentsAlg/distanceFunctions.py
# def square_double(x):
# def distanceA2AEuclideanSquared(x, std=[], w=[]):
# def getHammingDistance(X, Y):
#     def recode(X):
# def distanceA2AHausdorff(x, y):
#         XP = X + []
#     XP = recode(X)
#     YP = recode(Y)


from clusterpy.core.toolboxes.cluster.componentsAlg import distanceFunctions
from unittest import TestCase, skip
# encoding: latin2
"""
Test distance functions
"""
__author__ = "Juan C. Duque"
__credits__ = "Copyright (c) 2009-11 Juan C. Duque"
__license__ = "New BSD License"
__version__ = "1.0.0"
__maintainer__ = "RiSE Group"
__email__ = "contacto@rise-group.org"


class TestDistanceFunctions(TestCase):
    def setUp(self):
        pass

    def tearDown(self):
        pass

    def test_square_double_of_many_items_list(self):
        """
        Squares each element of a list and then returns the sum.
        """

# Path: clusterpy/core/toolboxes/cluster/componentsAlg/distanceFunctions.py
# def square_double(x):
# def distanceA2AEuclideanSquared(x, std=[], w=[]):
# def getHammingDistance(X, Y):
#     def recode(X):
# def distanceA2AHausdorff(x, y):
#         XP = X + []
#     XP = recode(X)
#     YP = recode(Y)


# Path: tests/test_distance_functions.py
from clusterpy.core.toolboxes.cluster.componentsAlg import distanceFunctions
from unittest import TestCase, skip

# encoding: latin2
"""
Test distance functions
"""
__author__ = "Juan C. Duque"
__credits__ = "Copyright (c) 2009-11 Juan C. Duque"
__license__ = "New BSD License"
__version__ = "1.0.0"
__maintainer__ = "RiSE Group"
__email__ = "contacto@rise-group.org"


class TestDistanceFunctions(TestCase):
    def setUp(self):
        pass

    def tearDown(self):
        pass

    def test_square_double_of_many_items_list(self):
        """
        Squares each element of a list and then returns the sum.
        """

        square_double = distanceFunctions.square_double