test_power10.cpp

00001 #include "power10.hpp"
00002 #include "test.hpp"
00003 
00004 void test_power10()
00005 {
00006   TEST(power10<0>::value == 1);
00007   TEST(power10<1>::value == 10);
00008   TEST(power10<2>::value == 100);
00009   TEST(power10<3>::value == 1000);
00010   TEST(power10<4>::value == 10000);
00011 }

Generated on Sun Nov 30 09:53:23 2008 for Exploring C++ - Final Forms of Key Examples by  doxygen 1.5.3