// Copyright (c) 2025 EFramework Innovation. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
using NUnit.Framework;
using EFramework.Unity.UIPlugin;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.TestTools;
using System.Collections;
using System.Collections.Generic;
///
/// TestUIWrapContent 是 UIWrapContent 的单元测试。
///
public class TestUIWrapContent
{
private GameObject canvasObj;
private UIWrapContent wrapContent;
private GameObject itemTemplate;
private RectTransform contentRect;
private RectTransform viewportRect;
[SetUp]
public void Setup()
{
// 创建Canvas
canvasObj = new GameObject("TestCanvas");
canvasObj.AddComponent