mirror of
https://github.com/dnpm-dip/mv64e-mtb-dto-go.git
synced 2025-07-01 10:22:55 +00:00
18 lines
265 B
Go
18 lines
265 B
Go
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")
|
|
}
|
|
}
|