diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-05-28 16:58:20 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-05-28 16:58:20 +0100 |
| commit | c13771610ef9a01cb29342bca82f9999f8b5ddbc (patch) | |
| tree | 4891c0e93babc20743fa885e42b54a7f7100ec55 | |
| parent | 8667600ba1eab16a35e80ca9ffa622089353e86d (diff) | |
Rename a couple of things.
| -rw-r--r-- | test/scaling_test.cc | 31 | ||||
| -rw-r--r-- | test/test.cc | 1 |
2 files changed, 32 insertions, 0 deletions
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 <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"))); + +} 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" |
