public void Inheritance_No_Match() { dynamic mimic = new SubMimic(); int result = mimic.Add(1, "llo"); Assert.AreEqual(default(int), result); }
public void Inheritance_String() { dynamic mimic = new SubMimic(); string result = mimic.Add("He", "llo"); Assert.AreEqual("Hello", result); }
public void Inheritance_Int() { dynamic mimic = new SubMimic(); int result = mimic.Add(2, 2); Assert.AreEqual(4, result); }