From c13771610ef9a01cb29342bca82f9999f8b5ddbc Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 28 May 2013 16:58:20 +0100 Subject: [PATCH] Rename a couple of things. --- test/scaling_test.cc | 31 +++++++++++++++++++++++++++++++ test/test.cc | 1 + 2 files changed, 32 insertions(+) create mode 100644 test/scaling_test.cc diff --git a/test/scaling_test.cc b/test/scaling_test.cc new file mode 100644 index 000000000..60009f10b --- /dev/null +++ b/test/scaling_test.cc @@ -0,0 +1,31 @@ +/* + Copyright (C) 2013 Carl Hetherington + + 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 = new_test_film ("scaling_test"); + film->examine_and_add_content (shared_ptr (new ImageMagickContent ("test/data/simple_testcard_640x480.png"))); + +} diff --git a/test/test.cc b/test/test.cc index f7e2b2e82..7d49bb66a 100644 --- a/test/test.cc +++ b/test/test.cc @@ -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" -- 2.30.2