wabbajack/Wabbajack.Test/Wabbajack.Common.Tests/ChannelStreamsTests.cs
Timothy Baldridge a59e39deaa WIP channels
2019-11-08 23:37:05 -07:00

20 lines
466 B
C#

using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Wabbajack.Common;
namespace Wabbajack.Test.Wabbajack.Common.Tests
{
[TestClass]
public class ChannelStreamsTests
{
[TestMethod]
public void ToAndFromChannel()
{
var src = Enumerable.Range(0, 10).ToList();
var result = src.AsChannel().ToIEnumerable();
Assert.AreEqual(src, result);
}
}
}