Exemplo n.º 1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test void shouldHandleEmptyPrepend()
        internal virtual void ShouldHandleEmptyPrepend()
        {
            // Given
            ListValue inner = list(longValue(5L), longValue(6L), longValue(7L), longValue(8L), longValue(9L), longValue(10L), longValue(11L));

            // When
            ListValue prepend = inner.Prepend();

            // Then
            AssertListValuesEquals(prepend, inner);
        }
Exemplo n.º 2
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test void shouldPrependToList()
        internal virtual void ShouldPrependToList()
        {
            // Given
            ListValue inner = list(longValue(5L), longValue(6L), longValue(7L), longValue(8L), longValue(9L), longValue(10L), longValue(11L));

            // When
            ListValue prepend = inner.Prepend(longValue(2L), longValue(3L), longValue(4L));

            // Then
            ListValue expected = list(longValue(2L), longValue(3L), longValue(4L), longValue(5L), longValue(6L), longValue(7L), longValue(8L), longValue(9L), longValue(10L), longValue(11L));

            AssertListValuesEquals(prepend, expected);
        }