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()
|
|
|
|
{
|
2023-06-25 14:30:12 +00:00
|
|
|
var _ = LibrarySettings.Create(100, 4096);
|
2022-10-01 13:39:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
public void GetMaxLevel()
|
|
|
|
{
|
2023-06-25 14:30:12 +00:00
|
|
|
var settings = LibrarySettings.Create(100, 4096);
|
2022-10-01 13:39:33 +00:00
|
|
|
Assert.AreEqual(100, settings.MaxLevel);
|
|
|
|
}
|
2023-06-25 14:30:12 +00:00
|
|
|
|
|
|
|
[Test]
|
|
|
|
public void GetShinyRate()
|
|
|
|
{
|
|
|
|
var settings = LibrarySettings.Create(100, 4096);
|
|
|
|
Assert.AreEqual(4096, settings.ShinyRate);
|
|
|
|
}
|
2022-10-01 13:39:33 +00:00
|
|
|
}
|
|
|
|
}
|