aboutsummaryrefslogtreecommitdiff
path: root/tests/test_core.py
diff options
context:
space:
mode:
authorDavid Barksdale <amatus@amatus.name>2014-02-04 19:44:26 -0600
committerDavid Barksdale <amatus@amatus.name>2014-02-06 22:03:05 -0600
commit2ca930a92e3199b0112661204cbc14c3709da2e3 (patch)
treeffab7ec28698c99faa759daa8e34069c6a668f37 /tests/test_core.py
parent80ff55e488df6b0e7762e923efa7ee1d869e3dc1 (diff)
Test in6addr_* constants
Diffstat (limited to 'tests/test_core.py')
-rw-r--r--tests/test_core.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_core.py b/tests/test_core.py
index a77d2465..7c3c8857 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -4376,6 +4376,11 @@ PORT: 3979
self.do_run_from_file(src, output)
+ def test_netinet_in(self):
+ src = open(path_from_root('tests', 'netinet', 'in.cpp'), 'r').read()
+ expected = open(path_from_root('tests', 'netinet', 'in.out'), 'r').read()
+ self.do_run(src, expected)
+
# libc++ tests
def test_iostream(self):