PkmnLibRSharp/PkmnLibRSharpTests/StaticData/Libraries/LibrarySettingsTests.cs

28 lines
691 B
C#
Raw Normal View History

2022-10-01 13:39:33 +00:00
using NUnit.Framework;
using PkmnLibSharp.StaticData.Libraries;
namespace PkmnLibRSharpTests.StaticData.Libraries
{
public class LibrarySettingsTests
{
[Test]
public void CreateLibrarySettings()
{
var _ = LibrarySettings.Create(100, 4096);
2022-10-01 13:39:33 +00:00
}
[Test]
public void GetMaxLevel()
{
var settings = LibrarySettings.Create(100, 4096);
2022-10-01 13:39:33 +00:00
Assert.AreEqual(100, settings.MaxLevel);
}
[Test]
public void GetShinyRate()
{
var settings = LibrarySettings.Create(100, 4096);
Assert.AreEqual(4096, settings.ShinyRate);
}
2022-10-01 13:39:33 +00:00
}
}