From 0f7ff97ce5ef0b4a7eb4db82e4bfddb4fc6b2df5 Mon Sep 17 00:00:00 2001 From: dholmes4 <dholmes4@huskers.unl.edu> Date: Thu, 27 Mar 2025 15:33:59 -0500 Subject: [PATCH] Upload New File --- lab - linked list lab/TestDequesDifferentially.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 lab - linked list lab/TestDequesDifferentially.py diff --git a/lab - linked list lab/TestDequesDifferentially.py b/lab - linked list lab/TestDequesDifferentially.py new file mode 100644 index 0000000..62a201d --- /dev/null +++ b/lab - linked list lab/TestDequesDifferentially.py @@ -0,0 +1,15 @@ +""" +Create a new Python file and a new test class TestDequesDifferentially. +In it, write differential test cases exercising collections.deque (a +built-in, array-based implementation with slightly different method +namesLinks to an external site.) and your LinkedDeque implementation. +Your test should exercise the deques in a variety of situations, +including situations where they have been modified on both sides. +Verify that the two implementations agree on your test cases. +""" +from unittest import TestCase +from linked_list_example import doubly_linked_node +from linked_list_example import LinkedDeque + +class TestDequesDifferentially(TestCase): + -- GitLab