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

            // When
            ListValue appended = inner.Append();

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

            // When
            ListValue appended = inner.Append(longValue(12L), longValue(13L), longValue(14L));

            // Then
            ListValue expected = list(longValue(5L), longValue(6L), longValue(7L), longValue(8L), longValue(9L), longValue(10L), longValue(11L), longValue(12L), longValue(13L), longValue(14L));

            AssertListValuesEquals(appended, expected);
        }