1
0
mirror of https://github.com/dnpm-dip/mv64e-mtb-dto-go.git synced 2025-07-01 18:32:55 +00:00

Initial commit

This commit is contained in:
2024-07-10 12:26:30 +02:00
commit d40836c6be
7 changed files with 2319 additions and 0 deletions

17
mtb_test.go Normal file
View File

@ -0,0 +1,17 @@
package mtb
import (
_ "embed"
"testing"
)
//go:embed tests/mv64e-mtb-fake-patient.json
var fakeMtbData []byte
func TestShouldDeserializeJson(t *testing.T) {
_, err := UnmarshalMtb(fakeMtbData)
if err != nil {
t.Errorf("Cannot deserialize MTB file")
}
}