Class YLongSetTests


  • @UnitTest
    public class YLongSetTests
    extends java.lang.Object
    • Constructor Detail

      • YLongSetTests

        public YLongSetTests()
    • Method Detail

      • shouldBeAbleToCreateByDefaultConstructor

        public void shouldBeAbleToCreateByDefaultConstructor()
      • shouldBeAbleToCreateWithInitialCapacity

        public void shouldBeAbleToCreateWithInitialCapacity()
      • shouldBeAbleToAddValue

        public void shouldBeAbleToAddValue()
      • shouldBeAbleToAddMultipleDistinctValues

        public void shouldBeAbleToAddMultipleDistinctValues()
      • shouldBeAbleToAddTheSameValueMultipleTimes

        public void shouldBeAbleToAddTheSameValueMultipleTimes()
      • addingNotExistingValueShouldModifySet

        public void addingNotExistingValueShouldModifySet()
      • addingExistingValueShouldNotModifySet

        public void addingExistingValueShouldNotModifySet()
      • containsShouldReturnTrueForExistingValue

        public void containsShouldReturnTrueForExistingValue()
      • containsShouldReturnFalseForNotExistingValue

        public void containsShouldReturnFalseForNotExistingValue()
      • setWithoutValuesShouldBeEmpty

        public void setWithoutValuesShouldBeEmpty()
      • setWithAnyValueShoulNotdBeEmpty

        public void setWithAnyValueShoulNotdBeEmpty()
      • shouldBeAbleToRemoveNotExistingValue

        public void shouldBeAbleToRemoveNotExistingValue()
      • shouldBeAbleToRemoveExistingValue

        public void shouldBeAbleToRemoveExistingValue()
      • removingOfNotExistingValueShouldNotModifySet

        public void removingOfNotExistingValueShouldNotModifySet()
      • removingOfExistingObjectShouldModifySet

        public void removingOfExistingObjectShouldModifySet()
      • shouldReturnZeroSizeForEmptySet

        public void shouldReturnZeroSizeForEmptySet()
      • shouldReturnProperSizeOfNonEmptySet

        public void shouldReturnProperSizeOfNonEmptySet()
      • shouldReturnEmptyArrayForEmptySet

        public void shouldReturnEmptyArrayForEmptySet()
      • shouldReturnArrayWithValues

        public void shouldReturnArrayWithValues()
      • shouldBeAbleToCompareTwoSets

        public void shouldBeAbleToCompareTwoSets()
      • shouldBeAbleToCompareTwoDifferentSets

        public void shouldBeAbleToCompareTwoDifferentSets()