aboutsummaryrefslogtreecommitdiff
path: root/file_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'file_test.go')
-rw-r--r--file_test.go19
1 files changed, 19 insertions, 0 deletions
diff --git a/file_test.go b/file_test.go
new file mode 100644
index 0000000..218da39
--- /dev/null
+++ b/file_test.go
@@ -0,0 +1,19 @@
+package main
+
+import "testing"
+
+var tc = []string{
+ "testcases/dim13.sec",
+ "testcases/dim13.pub",
+ "testcases/test.sig",
+}
+
+func TestParseFile(t *testing.T) {
+ for _, tf := range tc {
+ f, err := ParseFile(tf)
+ if err != nil {
+ t.Error(err)
+ }
+ t.Log(f)
+ }
+}