wabbajack/Wabbajack.Test/Wabbajack.Common.Tests/ChannelStreamsTests.cs

20 lines
466 B
C#
Raw Normal View History

2019-11-09 06:37:05 +00:00
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);
}
}
}