Skip to content
Snippets Groups Projects
Commit 8b1c5228 authored by jlaura's avatar jlaura Committed by Jesse Mapel
Browse files

Adds bytestreamisd wrapper (#19)

* Adds bytestreamisd wrapper

* Missed case specific includes
parent a4dcd310
No related branches found
No related tags found
No related merge requests found
%module(package="csmapi") bytestreamisd
%{
#include "BytestreamIsd.h"
%}
%include "BytestreamIsd.h"
\ No newline at end of file
......@@ -9,3 +9,4 @@
%include "rastergm.i"
%include "plugin.i"
%include "settableellipsoid.i"
%include "bytestreamisd.i"
import csmapi
import pytest
def test_loadlib(loadlib):
assert loadlib is not None
def test_streamisd():
print(dir(csmapi))
stream = "The is a stream."
isd = csmapi.BytestreamIsd(stream)
assert stream == isd.data()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment