Files
libremetaverse/LibreMetaverse.RLV.Tests/Commands/UnsitCommandTests.cs
nooperation d905210ecf Initial commit of LibreMetaverse.RLV and LibreMetaverse.RLV.Tests.
This library provides RLV command processing and ease of use for checking current RLV permissions and restrictions
2025-08-17 19:55:33 -04:00

24 lines
599 B
C#

namespace LibreMetaverse.RLV.Tests.Commands
{
public class UnsitCommandTests : RestrictionsBase
{
#region @unsit=force
[Fact]
public async Task ForceUnSit()
{
Assert.True(await _rlv.ProcessMessage("@unsit=force", _sender.Id, _sender.Name));
}
[Fact]
public async Task ForceUnSit_RestrictedUnsit()
{
await _rlv.ProcessMessage("@unsit=n", _sender.Id, _sender.Name);
Assert.False(await _rlv.ProcessMessage("@unsit=force", _sender.Id, _sender.Name));
}
#endregion
}
}