Rename a couple of things.
authorCarl Hetherington <cth@carlh.net>
Tue, 28 May 2013 15:58:20 +0000 (16:58 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 28 May 2013 15:58:20 +0000 (16:58 +0100)
test/scaling_test.cc [new file with mode: 0644]
test/test.cc

diff --git a/test/scaling_test.cc b/test/scaling_test.cc
new file mode 100644 (file)
index 0000000..60009f1
--- /dev/null
@@ -0,0 +1,31 @@
+/*
+    Copyright (C) 2013 Carl Hetherington <cth@carlh.net>
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+*/
+
+/** @file test/scaling_test.cc
+ *  @brief Test scaling and black-padding of images from a still-image source.
+ */
+
+using boost::shared_ptr;
+
+BOOST_AUTO_TEST_CASE (scaling_test)
+{
+       shared_ptr<Film> film = new_test_film ("scaling_test");
+       film->examine_and_add_content (shared_ptr<Content> (new ImageMagickContent ("test/data/simple_testcard_640x480.png")));
+       
+}
index f7e2b2e82dc771562e633ab0c121cb12ee4a327e..7d49bb66ad813ead4f1311a07d972fec2becdfb1 100644 (file)
@@ -93,6 +93,7 @@ new_test_film (string name)
        return f;
 }
 
+#include "scaling_test.cc"
 #include "container_test.cc"
 #include "pixel_formats_test.cc"
 #include "make_black_test.cc"