advancedskrald/ChessAR/Library/PackageCache/com.unity.analytics@3.2.2/Tests/Editor/Unity.Analytics.StandardEvents/GameStartTests.cs

23 lines
592 B
C#

using NUnit.Framework;
namespace UnityEngine.Analytics.Tests
{
public partial class AnalyticsEventTests
{
[Test]
public void GameStart_NoArgsTest()
{
Assert.DoesNotThrow(() => m_Result = AnalyticsEvent.GameStart());
EvaluateAnalyticsResult(m_Result);
}
[Test]
public void GameStart_CustomDataTest()
{
Assert.DoesNotThrow(() => m_Result = AnalyticsEvent.GameStart(m_CustomData));
EvaluateCustomData(m_CustomData);
EvaluateAnalyticsResult(m_Result);
}
}
}