aboutsummaryrefslogtreecommitdiff
path: root/test/source/TestCharTraits.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/source/TestCharTraits.cpp')
-rw-r--r--test/source/TestCharTraits.cpp39
1 files changed, 39 insertions, 0 deletions
diff --git a/test/source/TestCharTraits.cpp b/test/source/TestCharTraits.cpp
new file mode 100644
index 0000000..bbcab54
--- /dev/null
+++ b/test/source/TestCharTraits.cpp
@@ -0,0 +1,39 @@
+/////////////////////////////////////////////////////////////////////////////
+// Copyright (c) Electronic Arts Inc. All rights reserved.
+/////////////////////////////////////////////////////////////////////////////
+
+#include "EASTLTest.h"
+#include <EABase/eabase.h>
+#include <EASTL/internal/char_traits.h>
+
+
+template<typename CharT>
+int TestCharTraits()
+{
+ int nErrorCount = 0;
+ return nErrorCount;
+}
+
+
+int TestCharTraits()
+{
+ using namespace eastl;
+
+ int nErrorCount = 0;
+
+ nErrorCount += TestCharTraits<char>();
+ nErrorCount += TestCharTraits<wchar_t>();
+ nErrorCount += TestCharTraits<char16_t>();
+ nErrorCount += TestCharTraits<char32_t>();
+
+ return nErrorCount;
+}
+
+
+
+
+
+
+
+
+