Skip to content

Commit d12ded6

Browse files
author
electricessence
committed
Cleaned up obsolete smoke tests.
1 parent 6063fb9 commit d12ded6

1 file changed

Lines changed: 0 additions & 23 deletions

File tree

tests/ObjectPoolSmokeTests.cs

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,6 @@ class IdContainer
1010
public int ID;
1111
}
1212

13-
[TestMethod]
14-
public void BufferBlockObjectPool_FactoryTest()
15-
{
16-
int i = 0;
17-
var pool = BufferBlockObjectPool.Create(()=>new IdContainer { ID = ++i });
18-
Assert.AreEqual(1, pool.Take().ID);
19-
}
20-
21-
[TestMethod]
22-
public void ConcurrentBagObjectPool_FactoryTest()
23-
{
24-
int i = 0;
25-
var pool = ConcurrentBagObjectPool.Create(() => new IdContainer { ID = ++i });
26-
Assert.AreEqual(1, pool.Take().ID);
27-
}
28-
2913
[TestMethod]
3014
public void OptimisticArrayObjectPool_FactoryTest()
3115
{
@@ -34,12 +18,5 @@ public void OptimisticArrayObjectPool_FactoryTest()
3418
Assert.AreEqual(1, pool.Take().ID);
3519
}
3620

37-
[TestMethod]
38-
public void LinkedListObjectPool_FactoryTest()
39-
{
40-
int i = 0;
41-
var pool = LinkedListObjectPool.Create(() => new IdContainer { ID = ++i });
42-
Assert.AreEqual(1, pool.Take().ID);
43-
}
4421
}
4522
}

0 commit comments

Comments
 (0)