ewoksxas.converters.tests.test_orange#

Tests for the Converter class.

Functions

test_add_features_1d_data()

Test that 1D feature_data is reshaped to 2D.

test_add_features_append()

Test appending rows to existing features.

test_add_features_append_mismatch()

Test that appending with mismatched feature_names raises error.

test_add_features_first_call()

Test adding features for the first time.

test_add_features_replace()

Test replacing existing features.

test_add_features_shape_mismatch()

Test that shape mismatch raises ValueError.

test_add_features_then_metas()

Test adding features then metas.

test_add_metas_then_features()

Test adding metas then features.

test_empty_initialization()

Test that Converter can be initialized empty.

test_features_property()

Test the features property returns correct tuple.

test_features_property_empty()

Test that features property raises error when no features set.

test_round_trip()

Test round-trip conversion: Converter -> Table -> Converter.

test_to_table_empty()

Test creating an empty table.

test_to_table_features_only()

Test creating a table with features only.

test_to_table_metas_only()

Test creating a table with metas only.