Added tests for image reading
This commit is contained in:
@@ -6,7 +6,7 @@ using namespace Leonetienne::BmpPP;
|
||||
|
||||
int main() {
|
||||
|
||||
/*
|
||||
|
||||
BMP bmp({800, 600}, Colormode::RGB);
|
||||
|
||||
for (int x = 0; x < 800; x++)
|
||||
@@ -20,7 +20,9 @@ int main() {
|
||||
);
|
||||
}
|
||||
|
||||
*/
|
||||
bmp.Write("write.bmp");
|
||||
|
||||
/*
|
||||
|
||||
BMP bmp;
|
||||
|
||||
@@ -32,7 +34,7 @@ int main() {
|
||||
if (!bmp.Write("testwrite.bmp"))
|
||||
std::cerr << "What the hell" << std::endl;
|
||||
|
||||
|
||||
*/
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user