?? ne-test.cpp
字號:
// ne-test.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "aine.h"
#include "debug.h"
ofstream tron( "result.txt" );
namespace Didactic
{
int BoolTest( const string path );
int EORTest( const string );
}
namespace Biologic
{
int BoolTest( const string path );
int EORTest( const string );
}
namespace Natural
{
int TestAdjust( const string );
int TestInverse( const string );
int BoolTest( const string path );
int EORTest( const string );
}
int main( int argc, char * argv[] )
{
cout << "Neurtal Entity test application\n" NNVERSION << endl;
tron << "Neurtal Entity test application\n" NNVERSION << endl;
INIT_DBG_MEM;
string path = argv[0];
path = path.substr( 0 , path.find_last_of( "\\/" ) );
#if 1
cout << "**********************************\nTesting Didactic neuron connection" << endl;
tron << "**********************************\nTesting Didactic neuron connection" << endl;
Didactic::BoolTest( path );
Didactic::EORTest( path );
cout << "**************************************\nTesting \'Biologic\' neuron connection" << endl;
tron << "\n\n**************************************\nTesting \'Biologic\' neuron connection" << endl;
Biologic::BoolTest( path );
Biologic::EORTest( path );
cout << "*************************************\nTesting \'Natural\' neuron connection" << endl;
tron << "\n\n*************************************\nTesting \'Natural\' neuron connection" << endl;
Natural::TestInverse( path );
Natural::BoolTest( path );
Natural::EORTest( path );
Natural::TestAdjust( path );
#endif
return 0;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -