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

23 lines
644 B
C#

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