repo.or.cz
/
ghsmtp.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
removed
[ghsmtp.git]
/
is_ascii-test.cpp
blob
d21644e8f9c41d5fa22165ddf6d7bbc9cc2ad2c9
1
#include
"is_ascii.hpp"
2
3
#include <glog/logging.h>
4
5
int
main
(
int
argc
,
char
*
argv
[])
6
{
7
CHECK
(
is_ascii
(
"Any ASCII string"
));
8
CHECK
(!
is_ascii
(
"Any “non-ASCII” string"
));
9
}