2005-01-27 21:05:44 +00:00
|
|
|
#include "../lstrings.h"
|
|
|
|
|
|
|
|
#include <iostream>
|
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
|
2005-01-27 21:05:44 +00:00
|
|
|
using namespace lyx::support;
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
2007-02-26 09:31:01 +00:00
|
|
|
namespace lyx {
|
|
|
|
docstring const _(string const & s) { return from_ascii(s); }
|
|
|
|
}
|
|
|
|
|
2005-01-27 21:05:44 +00:00
|
|
|
void test_lowercase()
|
|
|
|
{
|
|
|
|
cout << lowercase('A') << endl;
|
|
|
|
cout << lowercase("AlLe") << endl;
|
|
|
|
}
|
|
|
|
|
|
|
|
void test_uppercase()
|
|
|
|
{
|
|
|
|
cout << uppercase('a') << endl;
|
|
|
|
cout << uppercase("AlLe") << endl;
|
|
|
|
}
|
|
|
|
|
2005-04-26 11:12:20 +00:00
|
|
|
int main()
|
2005-01-27 21:05:44 +00:00
|
|
|
{
|
|
|
|
test_lowercase();
|
|
|
|
test_uppercase();
|
|
|
|
}
|