move all source directories to soc so that "import soc.scoreboard" etc is used
[soc.git] / src / TestUtil / test_helper.py
diff --git a/src/TestUtil/test_helper.py b/src/TestUtil/test_helper.py
deleted file mode 100644 (file)
index c42990d..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-def assert_op(pre, o, e, op):
-    """ Verifies the given values given the particular operand
-        Arguments:
-            p (Prefix): Appended to the front of the assert statement
-            e (Expected): The expected value
-            o (Output): The output result
-            op (Operation): (0 => ==), (1 => !=)
-    """
-    if op == 0:
-        assert_eq(pre, o, e)
-    else:
-        assert_ne(pre, o, e)    
-
-def assert_eq(p, o, e):
-    """ Verifies the given values are equal
-        Arguments:
-           p (Prefix): Appended to the front of the assert statement
-           e (Expected): The expected value
-           o (Output): The output result
-    """
-    assert o == e, p + " Output " + str(o) + " Expected " + str(e)
-    
-def assert_ne(p, o, e):
-    """ Verifies the given values are not equal
-        Arguments:
-           p (Prefix): Appended to the front of the assert statement
-           e (Expected): The expected value
-           o (Output): The output result
-    """
-    assert o != e, p + " Output " + str(o) + " Not Expecting " + str(e)