mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
20 lines
466 B
C#
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);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|