Firstborn/Library/PackageCache/com.unity.ads@4.4.2/Tests/Runtime/Advertisement/Events/FinishEventArgsTests.cs
Schaken-Mods 9092858a58 updated to the latest editor
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
2023-05-07 17:43:11 -05:00

23 lines
717 B
C#

using NUnit.Framework;
using UnityEngine.Advertisements.Events;
namespace UnityEngine.Advertisements.Tests
{
[TestFixture]
class FinishEventArgsTests
{
[TestCase("ads", ShowResult.Failed)]
[TestCase("intro", ShowResult.Finished)]
[TestCase("test", ShowResult.Skipped)]
[TestCase("", ShowResult.Finished)]
[TestCase(null, ShowResult.Skipped)]
public void Constructor(string placementId, ShowResult showResult)
{
var eventArgs = new FinishEventArgs(placementId, showResult);
Assert.That(eventArgs.placementId, Is.EqualTo(placementId));
Assert.That(eventArgs.showResult, Is.EqualTo(showResult));
}
}
}