Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Swigcsm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
aflab
astrogeology
Swigcsm
Commits
8b1c5228
Commit
8b1c5228
authored
5 years ago
by
jlaura
Committed by
Jesse Mapel
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Adds bytestreamisd wrapper (#19)
* Adds bytestreamisd wrapper * Missed case specific includes
parent
a4dcd310
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
bytestreamisd.i
+6
-0
6 additions, 0 deletions
bytestreamisd.i
csmapi.i
+1
-0
1 addition, 0 deletions
csmapi.i
python/tests/test_api.py
+12
-0
12 additions, 0 deletions
python/tests/test_api.py
with
19 additions
and
0 deletions
bytestreamisd.i
0 → 100644
+
6
−
0
View file @
8b1c5228
%
module
(
package
=
"
csmapi
"
)
bytestreamisd
%
{
#include "BytestreamIsd.h"
%}
%
include
"
BytestreamIsd.h
"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
csmapi.i
+
1
−
0
View file @
8b1c5228
...
...
@@ -9,3 +9,4 @@
%
include
"
rastergm.i
"
%
include
"
plugin.i
"
%
include
"
settableellipsoid.i
"
%
include
"
bytestreamisd.i
"
This diff is collapsed.
Click to expand it.
python/tests/test_api.py
0 → 100644
+
12
−
0
View file @
8b1c5228
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
()
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment