完成test
This commit is contained in:
22
TinySTL/Test/GraphTest.h
Normal file
22
TinySTL/Test/GraphTest.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#ifndef _GRAPH_TEST_H_
|
||||
#define _GRAPH_TEST_H_
|
||||
|
||||
#include "TestUtil.h"
|
||||
|
||||
#include "../Graph.h"
|
||||
|
||||
#include <cassert>
|
||||
|
||||
namespace TinySTL{
|
||||
namespace GraphTest{
|
||||
template<class Index, class Value>
|
||||
using dGraph = TinySTL::directed_graph < Index, Value > ;
|
||||
|
||||
void testCase1();
|
||||
void testCase2();
|
||||
|
||||
void testAllCases();
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user