-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDay 27.txt
41 lines (34 loc) · 1 KB
/
Day 27.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
class TestDataEmptyArray(object):
@staticmethod
def get_array():
# complete this function
return []
class TestDataUniqueValues(object):
data = []
for i in range(5):
data.append(i)
data[::-1]
@staticmethod
def get_array():
# complete this function
return TestDataUniqueValues.data
@staticmethod
def get_expected_result():
# complete this function
data = TestDataUniqueValues.get_array()
return data.index(min(data))
class TestDataExactlyTwoDifferentMinimums(object):
data = []
for i in range(5):
data.append(i)
data[::-1]
data.insert(0,0)
@staticmethod
def get_array():
# complete this function
return TestDataExactlyTwoDifferentMinimums.data
@staticmethod
def get_expected_result():
# complete this function
data = TestDataExactlyTwoDifferentMinimums.get_array()
return data.index(min(data))