test_type_conversion¶
Module: tests.unittests.nodes.type_manipulation.test_type_conversion
¶
This module contains unittests which test FeatureVector2TimeSeriesNode.
Author: | Titiruck Nuntapramote (titiruck.nuntapramote@dfki.de) |
---|---|
Created: | 2011/10/18 |
Inheritance diagram for pySPACE.tests.unittests.nodes.type_manipulation.test_type_conversion
:
Class Summary¶
FeatureVector2TimeSeriesTestCase ([methodName]) |
Test whether 2 TimeSeries are equal after converting using FeatureVector2TimeSeriesNode. |
Prediction2FeaturesTestCase ([methodName]) |
Test Prediction2FeaturesNode |
Features2PredictionTestCase ([methodName]) |
Test Features2PredictionNode |
Feature2MonoTimeSeriesTestCase ([methodName]) |
Some simple tests, if conversion works as expected |
MonoTimeSeries2FeatureTestCase ([methodName]) |
Classes¶
FeatureVector2TimeSeriesTestCase
¶
-
class
pySPACE.tests.unittests.nodes.type_manipulation.test_type_conversion.
FeatureVector2TimeSeriesTestCase
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
Test whether 2 TimeSeries are equal after converting using FeatureVector2TimeSeriesNode.
Author: Titiruck Nuntapramote (titiruck.nuntapramote@dfki.de) Created: 2011/11/04 Class Components Summary
cmp_TimeSeries
(t1, t2)cmp_value
(l1, l2)setUp
()test_TimeSeries
()test_channel_names
()test_sampling_frequency
()
Prediction2FeaturesTestCase
¶
-
class
pySPACE.tests.unittests.nodes.type_manipulation.test_type_conversion.
Prediction2FeaturesTestCase
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
Test Prediction2FeaturesNode
Author: Titiruck Nuntapramote (titiruck.nuntapramote@dfki.de) Created: 2011/11/16 Class Components Summary
setUp
()test_array
()test_name
()
Features2PredictionTestCase
¶
-
class
pySPACE.tests.unittests.nodes.type_manipulation.test_type_conversion.
Features2PredictionTestCase
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
Test Features2PredictionNode
Author: Titiruck Nuntapramote (titiruck.nuntapramote@dfki.de) Created: 2011/11/24 Class Components Summary
setUp
()test_array
()test_label
()
Feature2MonoTimeSeriesTestCase
¶
-
class
pySPACE.tests.unittests.nodes.type_manipulation.test_type_conversion.
Feature2MonoTimeSeriesTestCase
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
Some simple tests, if conversion works as expected
Class Components Summary
setUp
()Define basic needed FeatureVector instances test_conversion
()Two simple conversion tests
MonoTimeSeries2FeatureTestCase
¶
-
class
pySPACE.tests.unittests.nodes.type_manipulation.test_type_conversion.
MonoTimeSeries2FeatureTestCase
(methodName='runTest')[source]¶ Bases:
pySPACE.tests.unittests.nodes.type_manipulation.test_type_conversion.Feature2MonoTimeSeriesTestCase