We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 529fc11 commit 3edda09Copy full SHA for 3edda09
tests/Frame_Tests.cpp
@@ -55,8 +55,13 @@ TEST(Default_Constructor)
55
// Should be false until we load or create contents
56
CHECK_EQUAL(false, f1.has_image_data);
57
CHECK_EQUAL(false, f1.has_audio_data);
58
+}
59
- // Calling GetImage() paints a blank frame, by default
60
+TEST(GetImage)
61
+{
62
+ Frame f1;
63
+ // Calling GetImage() paints a blank frame, by default.
64
+ // It also adds image data to the frame!
65
std::shared_ptr<QImage> i1 = f1.GetImage();
66
67
CHECK(i1 != nullptr);
0 commit comments