79 lines
2.5 KiB
C#
79 lines
2.5 KiB
C#
using NUnit.Framework;
|
|
using PkmnLibSharp.StaticData.Libraries;
|
|
|
|
namespace PkmnLibRSharpTests.StaticData.Libraries
|
|
{
|
|
public class StaticDataTests
|
|
{
|
|
[Test]
|
|
public void CreateNewStaticData()
|
|
{
|
|
using var settings = new LibrarySettings(100);
|
|
using var library = new PkmnLibSharp.StaticData.Libraries.StaticData(settings);
|
|
}
|
|
|
|
[Test]
|
|
public void GetSettings()
|
|
{
|
|
using var settings = new LibrarySettings(100);
|
|
using var library = new PkmnLibSharp.StaticData.Libraries.StaticData(settings);
|
|
var _ = library.LibrarySettings;
|
|
}
|
|
|
|
[Test]
|
|
public void GetSpecies()
|
|
{
|
|
using var settings = new LibrarySettings(100);
|
|
using var library = new PkmnLibSharp.StaticData.Libraries.StaticData(settings);
|
|
var _ = library.SpeciesLibrary;
|
|
}
|
|
|
|
[Test]
|
|
public void GetMoves()
|
|
{
|
|
using var settings = new LibrarySettings(100);
|
|
using var library = new PkmnLibSharp.StaticData.Libraries.StaticData(settings);
|
|
var _ = library.MoveLibrary;
|
|
}
|
|
|
|
[Test]
|
|
public void GetItems()
|
|
{
|
|
using var settings = new LibrarySettings(100);
|
|
using var library = new PkmnLibSharp.StaticData.Libraries.StaticData(settings);
|
|
var _ = library.ItemLibrary;
|
|
}
|
|
|
|
[Test]
|
|
public void GetGrowthRates()
|
|
{
|
|
using var settings = new LibrarySettings(100);
|
|
using var library = new PkmnLibSharp.StaticData.Libraries.StaticData(settings);
|
|
var _ = library.GrowthRateLibrary;
|
|
}
|
|
|
|
[Test]
|
|
public void GetTypeLibrary()
|
|
{
|
|
using var settings = new LibrarySettings(100);
|
|
using var library = new PkmnLibSharp.StaticData.Libraries.StaticData(settings);
|
|
var _ = library.TypeLibrary;
|
|
}
|
|
|
|
[Test]
|
|
public void GetNatureLibrary()
|
|
{
|
|
using var settings = new LibrarySettings(100);
|
|
using var library = new PkmnLibSharp.StaticData.Libraries.StaticData(settings);
|
|
var _ = library.NatureLibrary;
|
|
}
|
|
|
|
[Test]
|
|
public void GetAbilityLibrary()
|
|
{
|
|
using var settings = new LibrarySettings(100);
|
|
using var library = new PkmnLibSharp.StaticData.Libraries.StaticData(settings);
|
|
var _ = library.AbilityLibrary;
|
|
}
|
|
}
|
|
} |