Attribute error when calling method in test case
When I call getMin in my test file like this: self.lst.insert(self.lst.getMin())
, I get the error AttributeError: 'SortedList' object has no attribute 'getMin'
. I have tried to make a separate variable and then call getMin, but I get the same error. I imported the class correctly as my other methods work except for getMin and getMax, and I am wondering if I am either calling it incorrectly or there is some sort of spacing error. Here is my code: