Firstborn/Library/PackageCache/com.unity.ads@3.7.5/Tests/Runtime/Advertisement/Events/StartEventArgsTests.cs

22 lines
508 B
C#
Raw Normal View History

2023-03-28 13:24:16 -04:00
using NUnit.Framework;
using UnityEngine.Advertisements.Events;
namespace UnityEngine.Advertisements.Tests
{
[TestFixture]
class StartEventArgsTests
{
[TestCase("ads")]
[TestCase("intro")]
[TestCase("test")]
[TestCase("")]
[TestCase(null)]
public void Constructor(string placementId)
{
var eventArgs = new StartEventArgs(placementId);
Assert.That(eventArgs.placementId, Is.EqualTo(placementId));
}
}
}