Skip to content

Commit

Permalink
Simplified test code in nsharp
Browse files Browse the repository at this point in the history
  • Loading branch information
fLindahl committed Feb 26, 2024
1 parent 8673629 commit aeb061a
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions tests/testnsharp/nsharptests/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,17 @@ static public void PerformTests()
Verify(position == newPosition);

// TODO: Verify that orientation is OK, and that we have the same representation of orientations real value (w or x)

TestMsg testmsg = new TestMsg();
testmsg.f = 100.0f;

TestMsg testmsg = new TestMsg
{
f = 100.0f
};
entity3.Send(testmsg);

TestMsg2 testmsg2 = new TestMsg2();
testmsg2.f = 200.0f;
TestMsg2 testmsg2 = new TestMsg2
{
f = 200.0f
};
entity3.Send(testmsg2);

Verify(1 == 1);
Expand Down

0 comments on commit aeb061a

Please sign in to comment.