コード例 #1
0
TEST_F(ProtocolTest, testProtocols)
{
	testSharedMessages();
	testMessage(AutoSolveStartedMessage());
	testMessage(AutoSolveAbortedMessage());
	testMessage(UndoMessage());
}
コード例 #2
0
ファイル: ProtocolTest.cpp プロジェクト: ptitSeb/caveexpress
TEST_F(ProtocolTest, testProtocols)
{
	testSharedMessages();
	testMessage(AddCaveMessage(1, false));
	testMessage(AddRopeMessage(1, 2));
	testMessage(LightStateMessage(1, false));
	testMessage(RemoveRopeMessage(1));
	testMessage(UpdateCollectedTypeMessage(EntityType::NONE, false));
	testMessage(WaterHeightMessage(1.0f));
	testMessage(WaterImpactMessage(1.0f, 1.0f));
	testMessage(DropMessage());
}