source: trunk/test/data_weight_proxy_test.cc @ 1533

Last change on this file since 1533 was 1533, checked in by Peter, 13 years ago

refs #368 - introducing proxy class

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1// $Id: data_weight_proxy_test.cc 1533 2008-09-25 12:02:52Z peter $
2
3/*
4  Copyright (C) 2008 Peter Johansson
5
6  This file is part of the yat library, http://dev.thep.lu.se/yat
7
8  The yat library is free software; you can redistribute it and/or
9  modify it under the terms of the GNU General Public License as
10  published by the Free Software Foundation; either version 3 of the
11  License, or (at your option) any later version.
12
13  The yat library is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  General Public License for more details.
17
18  You should have received a copy of the GNU General Public License
19  along with yat. If not, see <http://www.gnu.org/licenses/>.
20*/
21
22#include "Suite.h"
23
24#include "yat/utility/DataWeight.h"
25#include "yat/utility/DataWeightProxy.h"
26
27using namespace theplu::yat;
28
29int main( int argc, char* argv[])
30{ 
31  test::Suite suite(argc, argv);
32  suite.err() << "testing DataWeightProxy" << std::endl;
33
34  using utility::DataWeightProxy;
35
36  double x=1.2;
37  double y=3.14;
38  DataWeightProxy proxy(x,y);
39
40  suite.return_value();
41}
Note: See TracBrowser for help on using the repository browser.