1
0

test: add test for tas oper and fix issue

This commit is contained in:
2026-03-31 14:26:17 +08:00
parent d0174bbf86
commit b8184c6ab4
6 changed files with 427 additions and 51 deletions

View File

@@ -1,4 +1,4 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -6,8 +6,8 @@ using System.Text;
using System.Threading.Tasks;
namespace BallanceTasEditorTests {
public static class AssertExtension {
public static T ThrowsDerivedException<T>(Action action) where T : Exception {
internal static class AssertExtension {
internal static T ThrowsDerivedException<T>(Action action) where T : Exception {
try {
action();
} catch (T ex) {