コード例 #1
0
    public IEnumerator Dashing_OnPlatform()
    {
        playerMovement.CheckGrounded();
        playerMovement.CheckDash(true, 0);
        playerMovement.Update();
        yield return(new WaitForFixedUpdate());

        Assert.Greater(playerGameObject.transform.position.x, 0);
        playerEffects.Received().CreateDashWind();
    }
コード例 #2
0
    public PlayerDashRobot AssertDashEffectCreated()
    {
        playerEffects.Received().CreateDashWind();

        return(this);
    }