1 Star 0 Fork 1

青大叔 / gooxml

Create your Gitee Account
Explore and code with more than 14 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
CT_ReadingModeInkLockDown_test.go 1.02 KB
Copy Edit Raw Blame History
qwj authored 2021-09-03 14:09 +08:00 . 修改包名
// Copyright 2017 Baliance. All rights reserved.
//
// DO NOT EDIT: generated by gooxml ECMA-376 generator
//
// Use of this source code is governed by the terms of the Affero GNU General
// Public License version 3.0 as published by the Free Software Foundation and
// appearing in the file LICENSE included in the packaging of this file. A
// commercial license can be purchased by contacting sales@baliance.com.
package wml_test
import (
"encoding/xml"
"testing"
"gitee.com/jiewen/gooxml/schema/soo/wml"
)
func TestCT_ReadingModeInkLockDownConstructor(t *testing.T) {
v := wml.NewCT_ReadingModeInkLockDown()
if v == nil {
t.Errorf("wml.NewCT_ReadingModeInkLockDown must return a non-nil value")
}
if err := v.Validate(); err != nil {
t.Errorf("newly constructed wml.CT_ReadingModeInkLockDown should validate: %s", err)
}
}
func TestCT_ReadingModeInkLockDownMarshalUnmarshal(t *testing.T) {
v := wml.NewCT_ReadingModeInkLockDown()
buf, _ := xml.Marshal(v)
v2 := wml.NewCT_ReadingModeInkLockDown()
xml.Unmarshal(buf, v2)
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jiewen/gooxml.git
git@gitee.com:jiewen/gooxml.git
jiewen
gooxml
gooxml
c517a803bade

Search