Testing, Scala, Functional Programming, Scalacheck, Data Structures.
the stack). Once more, using the same principle, each time the test runs, it checks that .toList returns the same values that we pushed in reversed order. Push & Pull Our “push pull” test verifies that whatever we pushed into the stack can be pulled out in the right order. Again, this test will run