mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-16 15:22:27 +02:00
19 lines
436 B
C#
19 lines
436 B
C#
using NUnit.Framework;
|
|
using SS14.Shared.Utility;
|
|
using System.Collections.Generic;
|
|
|
|
namespace SS14.UnitTesting.SS14.Shared.Utility
|
|
{
|
|
[TestFixture]
|
|
public class CollectionExtensions_Test
|
|
{
|
|
[Test]
|
|
public void RemoveSwapTest()
|
|
{
|
|
List<int> list = new List<int> { 1, 2, 3 };
|
|
list.RemoveSwap(0);
|
|
Assert.That(list, Is.EqualTo(new List<int> { 3, 2 }));
|
|
}
|
|
}
|
|
}
|