Skip to content

Commit cc4e2ec

Browse files
committed
Remove C++ test that we no longer need
1 parent d07f7d8 commit cc4e2ec

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

test/VideoDecoderTest.cpp

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -146,19 +146,6 @@ double computeAverageCosineSimilarity(
146146
return averageCosineSimilarity;
147147
}
148148

149-
TEST(SingleStreamDecoderTest, RespectsWidthAndHeightFromOptions) {
150-
std::string path = getResourcePath("nasa_13013.mp4");
151-
std::unique_ptr<SingleStreamDecoder> decoder =
152-
std::make_unique<SingleStreamDecoder>(path);
153-
VideoStreamOptions videoStreamOptions;
154-
videoStreamOptions.width = 100;
155-
videoStreamOptions.height = 120;
156-
std::vector<Transform*> transforms;
157-
decoder->addVideoStream(-1, transforms, videoStreamOptions);
158-
torch::Tensor tensor = decoder->getNextFrame().data;
159-
EXPECT_EQ(tensor.sizes(), std::vector<long>({3, 120, 100}));
160-
}
161-
162149
TEST(SingleStreamDecoderTest, RespectsOutputTensorDimensionOrderFromOptions) {
163150
std::string path = getResourcePath("nasa_13013.mp4");
164151
std::unique_ptr<SingleStreamDecoder> decoder =

0 commit comments

Comments
 (0)