restore note

This commit is contained in:
张开元
2025-07-28 21:31:13 +08:00
parent 84633a508c
commit e03a676076

View File

@@ -256,30 +256,30 @@ func TestSwipeWithDirection(t *testing.T) {
minDistance: 100.0, minDistance: 100.0,
maxDistance: 500.0, maxDistance: 500.0,
}, },
//{ {
// name: "随机距离下滑", name: "随机距离下滑",
// direction: "down", direction: "down",
// startX: 0.5, startX: 0.5,
// startY: 0.5, startY: 0.5,
// minDistance: 150.0, minDistance: 150.0,
// maxDistance: 350.0, // 范围内随机 maxDistance: 350.0, // 范围内随机
//}, },
//{ {
// name: "固定距离左滑", name: "固定距离左滑",
// direction: "left", direction: "left",
// startX: 0.5, startX: 0.5,
// startY: 0.5, startY: 0.5,
// minDistance: 300.0, minDistance: 300.0,
// maxDistance: 300.0, maxDistance: 300.0,
//}, },
//{ {
// name: "随机距离右滑", name: "随机距离右滑",
// direction: "right", direction: "right",
// startX: 0.6, startX: 0.6,
// startY: 0.5, startY: 0.5,
// minDistance: 100.0, minDistance: 100.0,
// maxDistance: 250.0, maxDistance: 250.0,
//}, },
} }
for _, tc := range testCases { for _, tc := range testCases {