1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-15 14:54:09 +02:00
Beef/IDE/Tests/Test1/src/Methods.bf

63 lines
840 B
Beef
Raw Normal View History

2019-08-23 11:56:54 -07:00
namespace IDETest
{
class Methods
{
class ClassA
{
public int TEST_MethodA()
{
return 200;
}
public int TEST_MethodB()
{
return 201;
}
/*ClassA_MethodC
public int TEST_MethodC()
{
return 202;
}
*/
public static int TEST_StaticMethodA()
{
return 100;
}
public static int TEST_StaticMethodB()
{
return 101;
}
/*ClassA_StaticMethodC
public static int TEST_StaticMethodC()
{
return 102;
}
*/
}
public static void DoTest()
{
/*DoTest_Body
ClassA ca = scope .();
ca.TEST_MethodB();
ca.TEST_MethodC();
ClassA.TEST_StaticMethodB();
ClassA.TEST_StaticMethodC();
*/
}
public static void Test()
{
//Test_Start
ClassA ca = scope .();
ca.TEST_MethodA();
ClassA.TEST_StaticMethodA();
DoTest();
}
}
}