Go to the source code of this file.
|
| #define | AssE_(v1, v2, expl) AssertEq(v1, v2, TStr(expl) + " (line " + TInt::GetStr(nLines) + ")", 0) |
| |
| #define | NFC_(cmpWith, operand) DecomposeAndCompose(operand, 0, operand.Len(), v, false); AssE_(cmpWith, v, #cmpWith " == NFC(" #operand ")") |
| |
| #define | NFD_(cmpWith, operand) Decompose(operand, 0, operand.Len(), v, false); AssE_(cmpWith, v, #cmpWith " == NFD(" #operand ")") |
| |
| #define | NFKC_(cmpWith, operand) DecomposeAndCompose(operand, 0, operand.Len(), v, true); AssE_(cmpWith, v, #cmpWith " == NFKC(" #operand ")") |
| |
| #define | NFKD_(cmpWith, operand) Decompose(operand, 0, operand.Len(), v, true); AssE_(cmpWith, v, #cmpWith " == NFKD(" #operand ")") |
| |
| #define AssE_ |
( |
|
v1, |
|
|
|
v2, |
|
|
|
expl |
|
) |
| AssertEq(v1, v2, TStr(expl) + " (line " + TInt::GetStr(nLines) + ")", 0) |
| #define NFC_ |
( |
|
cmpWith, |
|
|
|
operand |
|
) |
| DecomposeAndCompose(operand, 0, operand.Len(), v, false); AssE_(cmpWith, v, #cmpWith " == NFC(" #operand ")") |
| #define NFD_ |
( |
|
cmpWith, |
|
|
|
operand |
|
) |
| Decompose(operand, 0, operand.Len(), v, false); AssE_(cmpWith, v, #cmpWith " == NFD(" #operand ")") |
| #define NFKC_ |
( |
|
cmpWith, |
|
|
|
operand |
|
) |
| DecomposeAndCompose(operand, 0, operand.Len(), v, true); AssE_(cmpWith, v, #cmpWith " == NFKC(" #operand ")") |
| #define NFKD_ |
( |
|
cmpWith, |
|
|
|
operand |
|
) |
| Decompose(operand, 0, operand.Len(), v, true); AssE_(cmpWith, v, #cmpWith " == NFKD(" #operand ")") |