using System; using NUnit.Framework; using PkmnLibSharp.StaticData; namespace PkmnLibRSharpTests.StaticData { public class SecondaryEffectTests { [Test] public void BasicTests( [Values(0, 100, 50, 22.5f)] float chance, [Values("foo", "bar", "", "ssdsdsdsdsd")] string effectName ) { var effect = SecondaryEffect.Create(chance, effectName, Array.Empty()); Assert.AreEqual(effectName, effect.Name); Assert.AreEqual(chance, effect.Chance); } } }