aboutsummaryrefslogtreecommitdiff
path: root/file_test.go
blob: 218da39850d0fc41b65932e43d7fdc41e7e22fd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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)
	}
}