Skip to content

Commit

Permalink
add missing image test, dont know why it went missing
Browse files Browse the repository at this point in the history
  • Loading branch information
sibre28 committed Jul 13, 2024
1 parent 02c0f05 commit 7ff98d2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/safeds/ml/nn/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,11 @@ def test_should_raise_if_test_features_mismatch(self, device: Device) -> None:
[FlattenLayer()],
r"A NeuralNetworkClassifier cannot be used with a InputConversionImage that uses a VariableImageSize.",
),
(
InputConversionImageToImage(VariableImageSize(1, 1, 1)),
[FlattenLayer()],
r"A NeuralNetworkClassifier cannot be used with images as output.",
),
],
)
def test_should_raise_if_model_has_invalid_structure(
Expand Down

0 comments on commit 7ff98d2

Please sign in to comment.