22 lines
448 B
C#
22 lines
448 B
C#
using System.Collections;
|
|
using UnityEngine;
|
|
using UnityEngine.TestTools;
|
|
|
|
namespace LitMotion.Tests.Runtime
|
|
{
|
|
public class StressTest
|
|
{
|
|
[UnityTest]
|
|
public IEnumerator StressTest_64000_Float()
|
|
{
|
|
for (int i = 0; i < 64000; i++)
|
|
{
|
|
LMotion.Create(0, 1f, 1f)
|
|
.Bind(x => { });
|
|
}
|
|
|
|
yield return new WaitForSeconds(1.1f);
|
|
}
|
|
}
|
|
}
|