Beispiel #1
0
TEST_F(RotationDeathTest, SerializationError) {
  Identity<World, World> id;
  EXPECT_DEATH({
    serialization::LinearMap message;
    id.WriteToMessage(&message);
    Rot const r = Rot::ReadFromMessage(message);
  }, "HasExtension.*Rotation");
TEST_F(PermutationDeathTest, SerializationError) {
  Identity<World1, World2> id;
  EXPECT_DEATH({
    serialization::LinearMap message;
    id.WriteToMessage(&message);
    Perm const p = Perm::ReadFromMessage(message);
  }, "HasExtension.*Permutation");