Port to netstandard.

Nit fixes.
Fixed e2e tests.
Added MIT license.
This commit is contained in:
Alexandru Macocian
2021-03-26 11:58:07 +01:00
parent f6069bd3aa
commit f39e8cf89e
26 changed files with 112 additions and 1034 deletions
@@ -1,16 +1,16 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SystemExtensions.Collections;
using System.Collections;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SystemExtensions;
using System;
using System.Runtime.Serialization.Formatters.Binary;
using System.Xml.Serialization;
using System.IO;
namespace SystemExtensions.Collections.Tests
namespace System.Collections.Tests
{
[TestClass()]
public class BinaryHeapTests
@@ -112,7 +112,7 @@ namespace SystemExtensions.Collections.Tests
}
binaryHeap.Clear(false);
int[] array = binaryHeap.ToArray();
if (binaryHeap.Count > 0 || binaryHeap.Capacity != 10)
if (binaryHeap.Count > 0 || binaryHeap.Capacity == 10)
{
Assert.Fail();
}
@@ -1,5 +1,5 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SystemExtensions.Collections;
using System.Collections;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -9,7 +9,7 @@ using System.Threading;
using System.Runtime.Serialization.Formatters.Binary;
using System.IO;
namespace SystemExtensions.Collections.Tests
namespace System.Collections.Tests
{
[TestClass()]
public class FibonacciHeapTests
@@ -1,15 +1,15 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SystemExtensions.Collections;
using System.Collections;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SystemExtensions;
using System;
using System.Runtime.Serialization.Formatters.Binary;
using System.IO;
namespace SystemExtensions.Collections.Tests
namespace System.Collections.Tests
{
[TestClass()]
public class PriorityQueueTests
@@ -1,5 +1,5 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SystemExtensions.Collections;
using System.Collections;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -8,7 +8,7 @@ using System.Threading.Tasks;
using System.Runtime.Serialization.Formatters.Binary;
using System.IO;
namespace SystemExtensions.Collections.Tests
namespace System.Collections.Tests
{
[TestClass()]
public class SkipListTests
@@ -1,5 +1,5 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SystemExtensions.Collections;
using System.Collections;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -8,7 +8,7 @@ using System.Threading.Tasks;
using System.Runtime.Serialization.Formatters.Binary;
using System.IO;
namespace SystemExtensions.Collections.Tests
namespace System.Collections.Tests
{
[TestClass()]
public class TreapTests