Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "config.h" | |
| 6 #include "wtf/ASCIICType.h" | |
| 7 | |
| 8 #include <gtest/gtest.h> | |
| 9 | |
| 10 namespace WTF { | |
| 11 | |
| 12 TEST(ASCIICTypeTest, ASCIICaseFoldTable) | |
| 13 { | |
| 14 LChar symbol = 0xff; | |
| 15 while (symbol--) { | |
| 16 EXPECT_EQ(toASCIILower<LChar>(symbol), ASCIICaseFoldTable[symbol]); | |
| 17 } | |
| 18 } | |
| 19 | |
| 20 } | |
| OLD | NEW |