Class UnityCheckpointRespawnPoseTests
Tests for TryRead(byte[], out UnityCheckpointRespawnPose): the data a checkpoint trigger saved reads back as its pose, and anything else a checkpoint can carry — text that is not JSON, bytes that are not text, a JSON array or bare value, JSON of another shape or a pose missing half of itself — answers false instead of a pose at the origin.
Inherited Members
Namespace: Serenity.UnityCheckpoint.Tests.Infrastructure
Assembly: Tests.dll
Syntax
public class UnityCheckpointRespawnPoseTests
Constructors
UnityCheckpointRespawnPoseTests()
Declaration
public UnityCheckpointRespawnPoseTests()
Methods
TryRead_OfBytesThatAreNotText_AnswersFalse()
Declaration
public void TryRead_OfBytesThatAreNotText_AnswersFalse()
TryRead_OfTextThatIsNotAPose_AnswersFalse(string)
Declaration
public void TryRead_OfTextThatIsNotAPose_AnswersFalse(string payload)
Parameters
| Type | Name | Description |
|---|---|---|
| string | payload |
TryRead_OfTheDataAPoseWrote_ReadsThePoseBack()
Declaration
public void TryRead_OfTheDataAPoseWrote_ReadsThePoseBack()