Skip to content
Snippets Groups Projects
Commit 98d68c64 authored by Kevin's avatar Kevin
Browse files

removed unnecessary test

parent dab6f458
No related branches found
No related tags found
1 merge request!44Resolve "Operation Replacement in a SFG"
Pipeline #14843 passed
...@@ -4,7 +4,7 @@ B-ASIC test suite for the core operations. ...@@ -4,7 +4,7 @@ B-ASIC test suite for the core operations.
from b_asic import \ from b_asic import \
Constant, Addition, Subtraction, Multiplication, ConstantMultiplication, Division, \ Constant, Addition, Subtraction, Multiplication, ConstantMultiplication, Division, \
SquareRoot, ComplexConjugate, Max, Min, Absolute, Butterfly, MAD SquareRoot, ComplexConjugate, Max, Min, Absolute, Butterfly
class TestConstant: class TestConstant:
def test_constant_positive(self): def test_constant_positive(self):
...@@ -162,9 +162,4 @@ class TestButterfly: ...@@ -162,9 +162,4 @@ class TestButterfly:
def test_buttefly_complex(self): def test_buttefly_complex(self):
test_operation = Butterfly() test_operation = Butterfly()
assert test_operation.evaluate_output(0, [2+1j, 3-2j]) == 5-1j assert test_operation.evaluate_output(0, [2+1j, 3-2j]) == 5-1j
assert test_operation.evaluate_output(1, [2+1j, 3-2j]) == -1+3j assert test_operation.evaluate_output(1, [2+1j, 3-2j]) == -1+3j
\ No newline at end of file
def test_split(self):
but1 = Butterfly()
split = but1.split()
assert len(split) == 2
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment