Move Saxonite’s projects into a dedicated `Workspace` folder and align the solution with .NET 10 and the current Common workspace. Update encryption integration, test project structure and coverage, and repository guidance and upgrade notes. - Relocate application and library projects while retaining Git rename history. - Split tests into Admin, Online, and Shared projects; add representative behavioral and serialization tests. - Update Common integration, application version, and repository documentation. Application version: 1.3.0 Reviewed-on: #1 Co-authored-by: andy <andy@sarand.com>
24 lines
909 B
C#
24 lines
909 B
C#
using NUnit.Framework;
|
|
using Saxonite.Net.Standard.Base.App;
|
|
using Saxonite.Net.Standard.Base.Bus;
|
|
|
|
namespace Saxonite.Net.Core.UnitTests.Data.Bus
|
|
{
|
|
//=======================================================================
|
|
[TestFixture]
|
|
public class SaxOrganisation_Bus_Tester
|
|
{
|
|
//-------------------------------------------------------------------
|
|
[TestCase(Sax.OrganisationCategory.Club, true)]
|
|
[TestCase(Sax.OrganisationCategory.Association, true)]
|
|
[TestCase(Sax.OrganisationCategory.SportDepartment, true)]
|
|
[TestCase(Sax.OrganisationCategory.Other, false)]
|
|
[TestCase(Sax.OrganisationCategory.Unknown, false)]
|
|
public void IsSportMandatory_ReflectsOrganisationCategory(Sax.OrganisationCategory category, bool expected)
|
|
{
|
|
Assert.That(SaxOrganisation.IsSportMandatory(category), Is.EqualTo(expected));
|
|
}
|
|
}
|
|
//=======================================================================
|
|
}
|