Skip to content

Commit

Permalink
Merge pull request #204 from hesselmonk/typo-fix
Browse files Browse the repository at this point in the history
Fix typo ComplatedLoops -> CompletedLoops
  • Loading branch information
yn01-dev authored Feb 9, 2025
2 parents fa5bafa + 155bf6a commit 1da05e6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Binary file modified docs/images/img-v2-available.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/LitMotion/Assets/LitMotion/Runtime/MotionHandle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public readonly int Loops
/// <summary>
/// The number of loops completed
/// </summary>
public readonly int ComplatedLoops
public readonly int CompletedLoops
{
get
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,13 +159,13 @@ public IEnumerator Test_CompletedLoops()
.RunWithoutBinding()
.Preserve();

Assert.That(handle.ComplatedLoops, Is.EqualTo(0));
Assert.That(handle.CompletedLoops, Is.EqualTo(0));
yield return new WaitForSeconds(1f);
Assert.That(handle.ComplatedLoops, Is.EqualTo(1));
Assert.That(handle.CompletedLoops, Is.EqualTo(1));
yield return new WaitForSeconds(1f);
Assert.That(handle.ComplatedLoops, Is.EqualTo(2));
Assert.That(handle.CompletedLoops, Is.EqualTo(2));
yield return new WaitForSeconds(1f);
Assert.That(handle.ComplatedLoops, Is.EqualTo(3));
Assert.That(handle.CompletedLoops, Is.EqualTo(3));
}
}
}

0 comments on commit 1da05e6

Please sign in to comment.