using XFEExtension.NetCore.XUnit.Attributes;
using XFEEDToolBox.Core.Native;
using XFEEDToolBox.Core.Navigation;
namespace XFEEDToolBox.Test;
[TestFixture]
public class NativeSystemLocationKindTests
{
[Test] public void ObservedPolyakovKindEightIsAStationWhileUnknownKindsStayUnknown()
{
Check.Equal(SystemLocationCategory.Station,NativeSystemLocationReader.Category(8));
Check.Equal(SystemLocationCategory.Station,NativeSystemLocationReader.Category(6));
Check.Equal(SystemLocationCategory.Carrier,NativeSystemLocationReader.Category(14));
Check.Equal(SystemLocationCategory.Other,NativeSystemLocationReader.Category(255));
}
}
using XFEExtension.NetCore.XUnit.Attributes;
using XFEEDToolBox.Core.Native;
using XFEEDToolBox.Core.Navigation;
namespace XFEEDToolBox.Test;
[TestFixture]
public class NativeSystemLocationKindTests
{
[Test] public void ObservedPolyakovKindEightIsAStationWhileUnknownKindsStayUnknown()
{
Check.Equal(SystemLocationCategory.Station,NativeSystemLocationReader.Category(8));
Check.Equal(SystemLocationCategory.Station,NativeSystemLocationReader.Category(6));
Check.Equal(SystemLocationCategory.Carrier,NativeSystemLocationReader.Category(14));
Check.Equal(SystemLocationCategory.Other,NativeSystemLocationReader.Category(255));
}
}