20240826 finished.
This commit is contained in:
18
LeetCodeSharp.Tests/P690Tests.cs
Normal file
18
LeetCodeSharp.Tests/P690Tests.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
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));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user