mirror of
https://github.com/AlexMacocian/SystemExtensions.git
synced 2026-07-15 14:19:29 +00:00
Fixed project rename
This commit is contained in:
@@ -4,7 +4,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace PriorityThreadPool.Collections
|
||||
namespace SystemExtensions.Collections
|
||||
{
|
||||
/// <summary>
|
||||
/// Binary heap implementation
|
||||
|
||||
@@ -4,7 +4,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace PriorityThreadPool.Collections
|
||||
namespace SystemExtensions.Collections
|
||||
{
|
||||
public class PriorityQueue<T>
|
||||
{
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using PriorityThreadPool.Collections;
|
||||
using SystemExtensions.Collections;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace PriorityThreadPool.Collections.Tests
|
||||
namespace SystemExtensions.Collections.Tests
|
||||
{
|
||||
[TestClass()]
|
||||
public class BinaryHeapTests
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using PriorityThreadPool.Collections;
|
||||
using SystemExtensions.Collections;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace PriorityThreadPool.Collections.Tests
|
||||
namespace SystemExtensions.Collections.Tests
|
||||
{
|
||||
[TestClass()]
|
||||
public class PriorityQueueTests
|
||||
@@ -89,7 +89,11 @@ namespace PriorityThreadPool.Collections.Tests
|
||||
[TestMethod()]
|
||||
public void PeekTest()
|
||||
{
|
||||
Assert.Fail();
|
||||
priorityQueue.Enqueue(1051);
|
||||
if(priorityQueue.Peek() != 1051 && priorityQueue.Count != 1)
|
||||
{
|
||||
Assert.Fail();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -64,8 +64,8 @@
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\PriorityThreadPool\SystemExtensions.csproj">
|
||||
<Project>{55850FF3-70E4-4828-BEEE-39837AC0D24C}</Project>
|
||||
<ProjectReference Include="..\SystemExtensions\SystemExtensions.csproj">
|
||||
<Project>{55850ff3-70e4-4828-beee-39837ac0d24c}</Project>
|
||||
<Name>SystemExtensions</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user