Skip to content

Commit 52fd52c

Browse files
committed
fix tests
1 parent d970314 commit 52fd52c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Robust.Client.IntegrationTests/UserInterface/ControlTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public void TestAnimations()
169169
control.PlayAnimation(animation, "foo");
170170
control.DoFrameUpdateRecursive(new FrameEventArgs(0.5f));
171171

172-
Assert.That(control.Foo, new ApproxEqualityConstraint(0f)); // Should still be 0.
172+
Assert.That(control.Foo, new ApproxEqualityConstraint(0.5f)); // Should be 0.5 as half a second elapsed and our 1s keyframe is at 1.
173173

174174
control.DoFrameUpdateRecursive(new FrameEventArgs(0.5001f));
175175

0 commit comments

Comments
 (0)