单元测试去掉net462,xunit对它的支持有些问题,导致测试结束时卡死
石头 authored at 2024-11-24 23:18:00
507.00 B
X
using System;

namespace NewLife.Data
{
    /// <summary>
    /// 范围
    /// </summary>
    public struct IndexRange
    {
        /// <summary>
        /// 开始,包含
        /// </summary>
        public Int32 Start;

        /// <summary>
        /// 结束,不包含
        /// </summary>
        public Int32 End;

        /// <summary>
        /// 已重载
        /// </summary>
        /// <returns></returns>
        public override String ToString() => $"({Start}, {End})";
    }
}