LeetCodeSharp/LeetCodeSharp.Tests/P690Tests.cs

18 lines
383 B
C#
Raw Normal View History

2024-08-26 11:22:13 +08:00
using LeetCodeSharp.Problems690;
namespace LeetCodeSharp.Tests;
public class P690Tests
{
[Fact]
public void Test1()
{
var solution = new Solution();
Assert.Equal(11,
solution.GetImportance([
new Employee(1, 5, [2, 3]),
new Employee(2, 3, []),
new Employee(3, 3, [])
], 1));
}
}