U:调整所有代码格式

This commit is contained in:
jimmy committed 2025-12-30 09:17:25 +08:00
1 parent d133bacf55
commit 155b67e831
342 files changed
+9431 -9868

No files matched your search

+3 -3
View File
@@ -410,7 +410,7 @@ public class EnumHelperTests
public void ToEnum_ConvertsIntToEnum()
{
// Arrange
int value = 3;
var value = 3;
// Act
var status = value.ToEnum<OrderStatus>();
@@ -517,7 +517,7 @@ public class EnumHelperTests
public void GetRandomExcept_ExcludesSpecifiedValues()
{
// Act: 多次获取随机值,确保不包含排除的值
for (int i = 0; i < 10; i++)
for (var i = 0; i < 10; i++)
{
var random = EnumHelper.GetRandomExcept(OrderStatus.Pending, OrderStatus.Cancelled);
@@ -631,4 +631,4 @@ public class EnumHelperTests
}
#endregion
}
}