// 厳密な動作チェックは行わない
// テスト本体
-int test_main( int argc, char* argv[] )
+int test_main( int, char** )
{
// archetype_test();
basic_test();
// テストメイン
-int test_main( int argc, char* argv[] )
+int test_main( int, char** )
{
my_optional_test();
eq_cmp::test();
}
-int test_main( int argc, char* argv[] )
+int test_main( int, char** )
{
// コンパイルが通った時点で殆どテスト成功
test1();
// おわり
}
-int test_main( int argc, char* argv[] )
+int test_main( int, char** )
{
test1( gintenlib::clonable_ptr<int>( new int() ) );
test1( gintenlib::clonable_ptr<int>( static_cast<int*>(0) ) );
// めんどいので delete もしない(ぉぃ)
}
-int test_main( int argc, char* argv[] )
+int test_main( int, char** )
{
test_deleter();
test_typed_deleter();
// ヘッダのインクルード
-#include <gintenlib/preprocessor/enable_if.hpp>
+#include "../gintenlib/preprocessor/enable_if.hpp"
// boost の単体テストフレームワーク
#include <boost/test/minimal.hpp>
// 単体テスト本体
-int test_main( int argc, char* argv[] )
+int test_main( int, char** )
{
derived d;
int i;
}
}
-int test_main( int argc, char* argv[] )
+int test_main( int, char** )
{
// 12 * 23 * 42 = 11592 = 2 * 2 * 2 * 3 * 3 * 7 * 23 を因数分解
{
#include <iostream>
-int test_main( int argc, char* argv[] )
+int test_main( int, char** )
{
// 組み込み型
test<int>();
}
}
-int test_main( int argc, char* argv[] )
+int test_main( int, char** )
{
// 空 range に対するチェック
test_empty();
using namespace std;
// list_format と同じで失礼
-int test_main( int argc, char* argv[] )
+int test_main( int, char** )
{
// とりあえずデータを用意する
vector<int> v;
typedef plane::angle angle_t;
-int test_main( int argc, char* argv[] )
+int test_main( int, char** )
{
// neary_equal のチェック
BOOST_CHECK( !nearly_equal( 0.0, 1.0 ) );
}
// テストメイン
-int test_main( int argc, char* argv[] )
+int test_main( int, char** )
{
test1();
test2();
};
// テストしてみる
-int test_main( int argc, char* argv[] )
+int test_main( int, char** )
{
using gintenlib::to_string;
#include <complex>
#include <boost/shared_ptr.hpp>
-int test_main( int argc, char* argv[] )
+int test_main( int, char** )
{
// 組み込み型
test_saver<int>( 0, 1 );