mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
New test
This commit is contained in:
parent
093ae8f9c1
commit
2d3518dcd4
1 changed files with 17 additions and 1 deletions
|
@ -35,7 +35,23 @@ namespace Tests
|
||||||
val.Dispose();
|
val.Dispose();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Test]
|
||||||
|
public static void TestGenericDelegates()
|
||||||
|
{
|
||||||
|
delegate void(String v) dlg = scope => StrMethod;
|
||||||
|
CallGenericDelegate(dlg);
|
||||||
|
CallGenericDelegate<String>(scope => StrMethod);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void CallGenericDelegate<T>(delegate void(T v) dlg)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void StrMethod(String v)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public static void TestBasics()
|
public static void TestBasics()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue