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)); } } //======================================================================= }