Skip to content

Commit 51000f8

Browse files
add description
1 parent 14ed525 commit 51000f8

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

bolt_test.go

+13
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import (
55
"testing"
66

77
bolt "github.com/Konstantin8105/Eurocode3.Bolt"
8+
"github.com/Konstantin8105/description"
89
)
910

1011
func TestBoltClass(t *testing.T) {
@@ -121,3 +122,15 @@ func TestCases(t *testing.T) {
121122
}
122123
}
123124
}
125+
126+
func TestDescription(t *testing.T) {
127+
descr, err := description.New(".")
128+
if err != nil {
129+
t.Fatal(err)
130+
}
131+
rep, err := descr.Report()
132+
if err != nil {
133+
t.Fatal(err)
134+
}
135+
t.Logf("%s", rep)
136+
}

go.mod

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
module github.com/Konstantin8105/Eurocode3.Bolt
22

33
go 1.14
4+
5+
require github.com/Konstantin8105/description v0.0.0-20210427161416-05166f50b107 // indirect

0 commit comments

Comments
 (0)