mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Test update
This commit is contained in:
parent
52a8aca30d
commit
b37dfcee62
1 changed files with 6 additions and 0 deletions
|
@ -26,6 +26,11 @@ namespace Tests
|
||||||
{
|
{
|
||||||
return val;
|
return val;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const float& MethodA3(const float& val)
|
||||||
|
{
|
||||||
|
return val;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct StructB
|
struct StructB
|
||||||
|
@ -546,6 +551,7 @@ void UseIt()
|
||||||
sa.MethodA1(sa, 1);
|
sa.MethodA1(sa, 1);
|
||||||
float f = 123;
|
float f = 123;
|
||||||
sa.MethodA2(f);
|
sa.MethodA2(f);
|
||||||
|
sa.MethodA3(f);
|
||||||
Interop::StructB sb;
|
Interop::StructB sb;
|
||||||
sb.MethodB0(0);
|
sb.MethodB0(0);
|
||||||
sb.MethodB1(sb, 1);
|
sb.MethodB1(sb, 1);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue