diff options
Diffstat (limited to '')
-rwxr-xr-x | python/test.py | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/python/test.py b/python/test.py index f4e679a..fa9c79a 100755 --- a/python/test.py +++ b/python/test.py | |||
@@ -2,12 +2,9 @@ | |||
2 | 2 | ||
3 | import gats | 3 | import gats |
4 | 4 | ||
5 | print gats.load( open('test.gats', 'rb') ) | 5 | print isinstance( True, bool ) |
6 | print isinstance( True, int ) | ||
7 | print isinstance( 1, bool ) | ||
8 | print isinstance( 1, int ) | ||
6 | 9 | ||
7 | gats.dump( 3.14159, open('out.gats', 'wb') ) | 10 | print gats.loads( gats.dumps( 0 ) ) |
8 | |||
9 | print gats.loads( | ||
10 | gats.dumps( | ||
11 | 500.12345 | ||
12 | ) | ||
13 | ) | ||