diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/resources/__init__.py b/resources/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/resources/stack.py b/resources/stack.py new file mode 100644 index 0000000000000000000000000000000000000000..41d86bd5bb6de63c75351e1e80b142817476a99e --- /dev/null +++ b/resources/stack.py @@ -0,0 +1,15 @@ +""" +Date: 09-16-19 +Class: CS5310 +Assignment: InClass03 - Custom Implementation of a stack. +Author: Brandon Rodriguez + + +Custom Stack implementation. +""" + + +class Stack(): + """ + Custom stack implementation. + """ diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/tests/resources/__init__.py b/tests/resources/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/tests/resources/stack.py b/tests/resources/stack.py new file mode 100644 index 0000000000000000000000000000000000000000..33dd055e3fea74d97eaefd3714e7a1de8750d227 --- /dev/null +++ b/tests/resources/stack.py @@ -0,0 +1,29 @@ +""" +Date: 09-16-19 +Class: CS5310 +Assignment: InClass03 - Custom Implementation of a stack. +Author: Brandon Rodriguez + + +Tests for custom Stack implementation. +""" + +# System Imports. +import unittest + +# User Class Imports. +from resources.stack import Stack + + +class TestMain(unittest.TestCase): + def setUp(self): + self.test_stack = Stack() + + def test_stack_creation(self): + self.assertTrue(isinstance(self.test_stack, Stack)) + + def test_push(self): + pass + + def test_pop(self): + pass