add
This commit is contained in:
7
TinySTL/Test/PriorityQueueTest.cpp
Normal file
7
TinySTL/Test/PriorityQueueTest.cpp
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
#include "PriorityQueueTest.h"
|
||||||
|
|
||||||
|
namespace TinySTL{
|
||||||
|
namespace PriorityQueueTest{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
20
TinySTL/Test/PriorityQueueTest.h
Normal file
20
TinySTL/Test/PriorityQueueTest.h
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
#ifndef _PRIORITY_QUEUE_TEST_H_
|
||||||
|
#define _PRIORITY_QUEUE_TEST_H_
|
||||||
|
|
||||||
|
#include "TestUtil.h"
|
||||||
|
|
||||||
|
#include "../Queue.h"
|
||||||
|
#include <queue>
|
||||||
|
|
||||||
|
#include <cassert>
|
||||||
|
|
||||||
|
namespace TinySTL{
|
||||||
|
namespace PriorityQueueTest{
|
||||||
|
template<class T>
|
||||||
|
using stdPQ = std::priority_queue < T > ;
|
||||||
|
template<class T>
|
||||||
|
using tsPQ = TinySTL::priority_queue < T > ;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
Reference in New Issue
Block a user