[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

hugin1/tests/old/panorama.cpp File Reference

test cases for the panorama class More...

#include <config.h>
#include <boost/test/unit_test.hpp>
#include <boost/test/floating_point_comparison.hpp>
#include "PT/PanoImage.h"
#include "PT/PanoCommand.h"
#include "PT/Panorama.h"
#include <algorithm>
#include "common/stl_utils.h"

Include dependency graph for panorama.cpp:

Include dependency graph

Classes

class  TestObserver

Functions

void SimplePanoTest ()
 creates a simple panorama with pano commands, and checks the resulting Panorama model
test_suite * init_unit_test_suite (int, char **)

Detailed Description

test cases for the panorama class

Author:
Pablo d'Angelo <pablo.dangelo@web.de>
Id
panorama.cpp 1810 2006-12-30 22:22:09Z dangelo

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 software 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 software; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA


Function Documentation

test_suite* init_unit_test_suite int  ,
char ** 
 

void SimplePanoTest  ) 
 

creates a simple panorama with pano commands, and checks the resulting Panorama model

RemoveImageCmd

change a lens variable in the Lens itself c is not linked

Add another lens

add lens to images 0 2 3

change a image lens variable in first Lens

change the image part of a linked lens variable

add lens 2 to images 0 3 4

delete image 2, to see if Lens 1 is deleted


Generated on Mon Sep 20 01:01:29 2010 for Hugintrunk by doxygen 1.3.9.1