public void WorksAsExpected() { MyHashTable <object> tableOne = new MyHashTable <object>(20); MyHashTable <object> tableTwo = new MyHashTable <object>(20); tableOne.Add("fond", "enamored"); tableOne.Add("wrath", "anger"); tableOne.Add("diligent", "employed"); tableOne.Add("outift", "garb"); tableOne.Add("guide", "usher"); tableTwo.Add("wrath", "delight"); tableTwo.Add("diligent", "idle"); tableTwo.Add("guide", "follow"); tableTwo.Add("flow", "jam"); tableTwo.Add("fond", "averse"); LeftJoin LJ = new LeftJoin(); LJ.MyLeftJoint(tableOne, tableTwo); Assert.Equal("poop", tableOne.Get("fond")); }
static void Main(string[] args) { Console.WriteLine("Hello World!"); MyHashTable <object> tableOne = new MyHashTable <object>(20); MyHashTable <object> tableTwo = new MyHashTable <object>(20); tableOne.Add("fond", "enamored"); tableOne.Add("wrath", "anger"); tableOne.Add("diligent", "employed"); tableOne.Add("outift", "garb"); tableOne.Add("guide", "usher"); tableTwo.Add("wrath", "delight"); tableTwo.Add("diligent", "idle"); tableTwo.Add("guide", "follow"); tableTwo.Add("flow", "jam"); tableTwo.Add("fond", "averse"); LeftJoin LJ = new LeftJoin(); LJ.MyLeftJoint(tableOne, tableTwo); }