Files
speckle-sharp-sdk/tests/Speckle.Sdk.Tests.Unit/Common/RangeFromTests.cs
T
Adam Hathcock 14d959834f Convert to Xunit (#196)
* xunit unit tests

* most pass with formatting

* convert objects to xunit

* remove nunit

* format

* merge fixes

* switch objects to fluent assertions

* update to fluent assertions

* more FA

* convert all to FA

* Format

* Fix tests

* formatting

* hopefully made credential test better

* Catch more specific exception

* use another more specific exception

* Fix tests

* update to xunit

* update packages
2025-01-09 15:32:28 +00:00

15 lines
269 B
C#

using Speckle.Sdk.Dependencies;
using Xunit;
namespace Speckle.Sdk.Tests.Unit.Common;
public class RangeFromTests
{
[Fact]
public void EnsureRange()
{
var list = EnumerableExtensions.RangeFrom(1, 4).ToArray();
Assert.Equal([1, 2, 3, 4], list);
}
}