add
This commit is contained in:
7
TinySTL/Test/ListTest.cpp
Normal file
7
TinySTL/Test/ListTest.cpp
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
#include "ListTest.h"
|
||||||
|
|
||||||
|
namespace TinySTL{
|
||||||
|
namespace ListTest{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
23
TinySTL/Test/ListTest.h
Normal file
23
TinySTL/Test/ListTest.h
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
#ifndef _LIST_TEST_H_
|
||||||
|
#define _LIST_TEST_H_
|
||||||
|
|
||||||
|
#include "TestUtil.h"
|
||||||
|
|
||||||
|
#include "../List.h"
|
||||||
|
#include <list>
|
||||||
|
|
||||||
|
#include <cassert>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
|
namespace TinySTL{
|
||||||
|
namespace ListTest{
|
||||||
|
template<class T>
|
||||||
|
using stdL = std::list < T > ;
|
||||||
|
template<class T>
|
||||||
|
using tsL = TinySTL::list < T > ;
|
||||||
|
|
||||||
|
void testAllCases();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
Reference in New Issue
Block a user