IronRuby.Tests.Tests.Test_Reverse C# (CSharp) Method

Test_Reverse() public method

public Test_Reverse ( byte b, RubyEncoding e, byte expected ) : void
b byte
e RubyEncoding
expected byte
return void
        public void Test_Reverse(byte[]/*!*/ b, RubyEncoding/*!*/ e, byte[]/*!*/ expected) {
            var s = MutableString.CreateBinary(b, e);
            MutableStringOps.Reverse(s);
            var actual = s.ToByteArray();
            Assert(actual.ValueEquals(expected));
        }
Tests