Skip to content
Snippets Groups Projects
ArrayTest.cpp 384 B
Newer Older
  • Learn to ignore specific revisions
  • Jan Trávníček's avatar
    Jan Trávníček committed
    #include "ArrayTest.h"
    #include <alib/map>
    #include <alib/algorithm>
    #include <alib/array>
    
    CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ArrayTest, "bits" );
    CPPUNIT_TEST_SUITE_REGISTRATION( ArrayTest );
    
    void ArrayTest::setUp() {
    }
    
    void ArrayTest::tearDown() {
    }
    
    void ArrayTest::basicTest() {
    	ext::array < int, 3 > a = ext::make_array ( 1, 2, 3 );
    
    	CPPUNIT_ASSERT ( a [ 0 ] == 1 );
    }