From 4fb454f7d58e607d88418168dcd073d2f4dd2996 Mon Sep 17 00:00:00 2001
From: Oscar Gustafsson <oscar.gustafsson@gmail.com>
Date: Thu, 28 May 2020 18:18:21 +0200
Subject: [PATCH] Fixed typos

---
 test/test_operation.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/test/test_operation.py b/test/test_operation.py
index f07a751e..1b940d5a 100644
--- a/test/test_operation.py
+++ b/test/test_operation.py
@@ -183,7 +183,7 @@ class TestExecutionTime:
 
     def test_set_execution_time(self):
         bfly = Butterfly()
-        bfly.set_exection_time(3)
+        bfly.exection_time = 3
 
         assert bfly.execution_time == 3
 
@@ -208,7 +208,7 @@ class TestCopyOperation:
 class TestPlotCoordinates():
     def test_simple_case(self):
         cmult = ConstantMultiplication(0.5)
-        cmult.set_exection_time(1)
+        cmult.execution_time = 1
         cmult.set_latency(3)
 
         lat, exe = cmult.get_plot_coordinates()
@@ -217,7 +217,7 @@ class TestPlotCoordinates():
 
     def test_complicated_case():
         bfly = Butterfly(latency_offsets={'in0': 2, 'in1': 3, 'out0': 5, 'out1': 10})
-        bfly.execution_time(7)
+        bfly.execution_time = 7
 
         lat, exe = bfly.get_plot_coordinates()
         assert lat == [[2, 0], [2, 0.5], [3, 0.5], [3, 1], [10, 1], [10, 0.5], [5, 0.5], [5, 0], [2, 0]]
@@ -227,7 +227,7 @@ class TestPlotCoordinates():
 class TestIOCoordinates():
     def test_simple_case(self):
         cmult = ConstantMultiplication(0.5)
-        cmult.set_exection_time(1)
+        cmult.execution_time = 1
         cmult.set_latency(3)
 
         i_c, o_c = cmult.get_io_coordinates()
@@ -236,7 +236,7 @@ class TestIOCoordinates():
 
     def test_complicated_case():
         bfly = Butterfly(latency_offsets={'in0': 2, 'in1': 3, 'out0': 5, 'out1': 10})
-        bfly.set_execution_time(7)
+        bfly.execution_time = 7
 
         i_c, o_c = bfly.get_io_coordinates()
         assert i_c == [[2, 0.25], [3, 0.75]]
-- 
GitLab