aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorEhsan Akhgari <ehsan.akhgari@gmail.com>2012-02-13 15:28:11 -0500
committerEhsan Akhgari <ehsan.akhgari@gmail.com>2012-03-28 10:58:41 -0700
commit83ac9ca2ecec4262735edd02b989e01fbe741a22 (patch)
tree3701f33f495ace6fa9f5af93d2117a1a0706e765 /tests/runner.py
parent8a889130130d16528f3f6a5c84dda97441335953 (diff)
Implement isdigit_l and isxdigit_l
We ignore the locales for now
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-xtests/runner.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py
index e6a792eb..6d060f7e 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -1698,6 +1698,16 @@ m_divisor is 1091269979
'''
self.do_run(src, '*51,87,78,550,100,78,550*')
+ def test_isdigit_l(self):
+ src = '''
+ #include <iostream>
+ int main() {
+ using namespace std;
+ use_facet<num_put<char> >(cout.getloc()).put(cout, cout, '0', 3.14159265);
+ }
+ '''
+ self.do_run(src, '3.14159')
+
def test_polymorph(self):
src = '''
#include <stdio.h>