24 lines
825 B
C#
24 lines
825 B
C#
|
using System;
|
||
|
using NUnit.Framework;
|
||
|
using PkmnLibSharp.StaticData;
|
||
|
|
||
|
namespace PkmnLibRSharpTests.StaticData
|
||
|
{
|
||
|
public class MoveDataTests
|
||
|
{
|
||
|
[Test]
|
||
|
public void BasicTests()
|
||
|
{
|
||
|
using var move = new MoveData("foobar", new TypeIdentifier(), MoveCategory.Physical, 68, 23, 56,
|
||
|
MoveTarget.Any, -3, null, Array.Empty<string>());
|
||
|
Assert.AreEqual("foobar", move.Name);
|
||
|
Assert.AreEqual(MoveCategory.Physical, move.Category);
|
||
|
Assert.AreEqual(68, move.BasePower);
|
||
|
Assert.AreEqual(23, move.Accuracy);
|
||
|
Assert.AreEqual(56, move.BaseUsages);
|
||
|
Assert.AreEqual(MoveTarget.Any, move.Target);
|
||
|
Assert.AreEqual(-3, move.Priority);
|
||
|
Assert.AreEqual(null, move.SecondaryEffect);
|
||
|
}
|
||
|
}
|
||
|
}
|