Difference between revisions of "Atomic Stack Assignment"

From CSE231 Wiki
Jump to navigation Jump to search
(Created page with "=Code To Implement= ==DefaultNode<E>== ==NotThreadSafeStack<E>== ==ConcurrentStack<E>== ==AtomicStack<E>== =Testing= {{TestSuite|StackTestSuite|stack.exercise}} ==DefaultNode...")
 
Line 14: Line 14:
 
{{TestSuite|__ConcurrentStackTestSuite|stack.concurrent.exercise}}
 
{{TestSuite|__ConcurrentStackTestSuite|stack.concurrent.exercise}}
 
===sequential===
 
===sequential===
 +
{{TestSuite|_ConcurrentStackSequentialTestSuite|stack.concurrent.exercise}}
 
===parallel===
 
===parallel===
 +
{{TestSuite|_ConcurrentStackParallelTestSuite|stack.concurrent.exercise}}
 +
 
==AtomicStack<E>==
 
==AtomicStack<E>==
 
{{TestSuite|__AtomicStackTestSuite|stack.atomic.exercise}}
 
{{TestSuite|__AtomicStackTestSuite|stack.atomic.exercise}}
 
===sequential===
 
===sequential===
 
===parallel===
 
===parallel===

Revision as of 02:49, 6 November 2022

Code To Implement

DefaultNode<E>

NotThreadSafeStack<E>

ConcurrentStack<E>

AtomicStack<E>

Testing

class: StackTestSuite.java Junit.png
package: stack.exercise
source folder: testing/src/test/java

DefaultNode

class: _DefaultNodeTestSuite.java Junit.png
package: stack.node.exercise
source folder: testing/src/test/java

NotThreadSafeStack<E>

class: _NotThreadSafeStackTestSuite.java Junit.png
package: stack.notthreadsafe.exercise
source folder: testing/src/test/java

ConcurrentStack<E>

class: __ConcurrentStackTestSuite.java Junit.png
package: stack.concurrent.exercise
source folder: testing/src/test/java

sequential

class: _ConcurrentStackSequentialTestSuite.java Junit.png
package: stack.concurrent.exercise
source folder: testing/src/test/java

parallel

class: _ConcurrentStackParallelTestSuite.java Junit.png
package: stack.concurrent.exercise
source folder: testing/src/test/java

AtomicStack<E>

class: __AtomicStackTestSuite.java Junit.png
package: stack.atomic.exercise
source folder: testing/src/test/java

sequential

parallel