Library/Library.Test/TestLurchTable.cs
C# | Copy Code |
---|---|
LurchTableTest<string, string> test = new LurchTableTest<string, string>(StringComparer.Ordinal); test["a"] = "b"; Assert.AreEqual(1, test.Count); test.Initialize(); Assert.AreEqual(0, test.Count); |
VB.NET | Copy Code |
---|---|
Dim test As New LurchTableTest(Of String, String)(StringComparer.Ordinal) test("a") = "b" Assert.AreEqual(1, test.Count) test.Initialize() Assert.AreEqual(0, test.Count) |
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7