StringTest.h 896 字节
Newer Older
邹晓航 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#ifndef _STRING_TEST_H_
#define _STRING_TEST_H_

#include "TestUtil.h"

#include "../String.h"
#include <string>

#include <cassert>
#include <iterator>

namespace TinySTL{
	namespace StringTest{
		using stdStr = std::string;
		using tsStr = TinySTL::string;
邹晓航 已提交
16 17 18 19 20 21 22 23 24

		void testCase1();
		void testCase2();
		void testCase3();
		void testCase4();
		void testCase5();
		void testCase6();
		void testCase7();
		void testCase8();
邹晓航 已提交
25 26 27
		void testCase9();
		void testCase10();
		void testCase11();
邹晓航 已提交
28 29
		void testCase12();
		void testCase13();
邹晓航 已提交
30 31
		void testCase14();
		void testCase15();
邹晓航 已提交
32 33 34
		void testCase16();
		void testCase17();
		void testCase18();
邹晓航 已提交
35
		void testCase19();
邹晓航 已提交
36
		void testCase20();
邹晓航 已提交
37 38
		void testCase21();
		void testCase22();
邹晓航 已提交
39 40
		void testCase23();
		void testCase24();
邹晓航 已提交
41 42
		void testCase25();
		void testCase26();
邹晓航 已提交
43 44 45
		void testCase27();
		void testCase28();
		void testCase29();
update  
邹晓航 已提交
46 47

		void testAllCases();
邹晓航 已提交
48 49 50 51
	}
}

#endif