mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-20 04:48:53 +00:00
24 lines
626 B
C#
24 lines
626 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using Cosmos.TestRunner;
|
|
|
|
|
|
namespace Cosmos.Compiler.Tests.Bcl.System.Collections.Generic
|
|
{
|
|
public static class DictionaryTest
|
|
{
|
|
public static void Execute()
|
|
{
|
|
Dictionary<String, Object> commands = new Dictionary<String, Object>()
|
|
{
|
|
{"echo", "ECHO"},
|
|
{"reboot", "REBOOT" },
|
|
{"shutdown", "SHUTDOWN"}
|
|
};
|
|
|
|
Assert.IsTrue(commands.ContainsKey("echo"), "Dictionary ContainsKey does not work");
|
|
}
|
|
}
|
|
}
|