00001 // Torc - Copyright 2011 University of Southern California. All Rights Reserved. 00002 // $HeadURL: https://torc-isi.svn.sourceforge.net/svnroot/torc-isi/branches/staging/0.9/src/torc/architecture/PrimitiveElementUnitTest.cpp $ 00003 // $Id: PrimitiveElementUnitTest.cpp 10 2011-10-12 18:40:16Z nsteiner $ 00004 00005 // This program is free software: you can redistribute it and/or modify it under the terms of the 00006 // GNU General Public License as published by the Free Software Foundation, either version 3 of the 00007 // License, or (at your option) any later version. 00008 // 00009 // This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; 00010 // without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See 00011 // the GNU General Public License for more details. 00012 // 00013 // You should have received a copy of the GNU General Public License along with this program. If 00014 // not, see <http://www.gnu.org/licenses/>. 00015 00016 /// \file 00017 /// \brief Unit test for the PrimitiveElement class. 00018 00019 #include <boost/test/unit_test.hpp> 00020 #include "torc/architecture/PrimitiveElement.hpp" 00021 00022 namespace torc { 00023 namespace architecture { 00024 00025 BOOST_AUTO_TEST_SUITE(architecture) 00026 00027 /// \brief Unit test for the Sites class. 00028 BOOST_AUTO_TEST_CASE(PrimitiveElementUnitTest) { 00029 // members not tested: 00030 // string mName; 00031 // PrimitiveElementPinArray mPins; 00032 // StringSet mCfgs; 00033 // bool mIsBel; 00034 // PinNameToPinIndexMap mPinNameToPinIndex; 00035 // functions not tested: 00036 // PrimitiveElementPinArray& getPins(void); 00037 // PrimitiveElement(void); 00038 // PinIndex findPinIndexByName(const string& inName) const; 00039 // const string& getName(void) const; 00040 // const PrimitiveElementPinArray& getPins(void) const; 00041 // const StringSet& getCfgs(void) const; 00042 // bool isBel(void) const; 00043 /// \todo Write a unit test for torc::architecture::PrimitiveElement. 00044 BOOST_REQUIRE(false); 00045 } 00046 00047 BOOST_AUTO_TEST_SUITE_END() 00048 00049 } // namespace architecture 00050 } // namespace torc