source: icGREP/icgrep-devel/QA/unit-tests/unicode_set_tests.hpp @ 5808

Last change on this file since 5808 was 4618, checked in by nmedfort, 4 years ago

More modifications to UnicodeSet? class.

File size: 751 bytes
Line 
1#include <UCD/unicode_set.h>
2//#include <UCD/Blocks.h>
3//#include <UCD/DerivedCoreProperties.h>
4//#include <UCD/DerivedGeneralCategory.h>
5//#include <UCD/EastAsianWidth.h>
6//#include <UCD/HangulSyllableType.h>
7//#include <UCD/LineBreak.h>
8//#include <UCD/PropList.h>
9//#include <UCD/ScriptExtensions.h>
10#include <UCD/Scripts.h>
11#include <iostream>
12#include <llvm/Support/raw_os_ostream.h>
13
14using namespace UCD;
15
16// int main(int, char *) {
17void run_unicode_tests() {
18
19    llvm::raw_os_ostream out(std::cerr);
20
21    SC_ns::aghb_Set.dump(out);
22
23    int i = 0;
24
25    for (auto interval : SC_ns::aghb_Set) {
26        std::cerr << std::get<0>(interval) << ',' << std::get<1>(interval) << std::endl;
27        if (++i == 5) {
28            break;
29        }
30    }
31}
Note: See TracBrowser for help on using the repository browser.