PkmnLibRSharp/PkmnLibRSharpTests/StaticData/Libraries/LibrarySettingsTests.cs

28 lines
691 B
C#

using NUnit.Framework;
using PkmnLibSharp.StaticData.Libraries;
namespace PkmnLibRSharpTests.StaticData.Libraries
{
public class LibrarySettingsTests
{
[Test]
public void CreateLibrarySettings()
{
var _ = LibrarySettings.Create(100, 4096);
}
[Test]
public void GetMaxLevel()
{
var settings = LibrarySettings.Create(100, 4096);
Assert.AreEqual(100, settings.MaxLevel);
}
[Test]
public void GetShinyRate()
{
var settings = LibrarySettings.Create(100, 4096);
Assert.AreEqual(4096, settings.ShinyRate);
}
}
}