github.com/artisanhe/tools@v1.0.1-0.20210607022958-19a8fef2eb04/vin-code/vin_code_test.go (about)

     1  package vincode
     2  
     3  import (
     4  	"testing"
     5  )
     6  
     7  func TestVINCodeUnmarshal1(t *testing.T) {
     8  	vin := "JA32A3HU6HH123456"
     9  	data, err := VINUnmarshal(vin)
    10  	if err != nil {
    11  		t.Error(vin, err)
    12  	}
    13  	t.Logf("vin:%s,vin data:%+v", vin, data)
    14  }