forked from TheRenegadeCoder/sample-programs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
runner.py
45 lines (38 loc) · 885 Bytes
/
runner.py
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
42
43
44
45
from enum import Enum, auto
from glotter import main as glotter_main
class ProjectType(Enum):
Baklava = auto()
BinarySearch = auto()
BubbleSort = auto()
Capitalize = auto()
ConvexHull = auto()
EvenOdd = auto()
Factorial = auto()
Fibonacci = auto()
FileIO = auto()
FizzBuzz = auto()
HelloWorld = auto()
InsertionSort = auto()
JobSequencing = auto()
JosephusProblem = auto()
LCS = auto()
LPS = auto()
LinearSearch = auto()
MergeSort = auto()
MST = auto()
PalindromicNumber = auto()
Prime = auto()
QuickSort = auto()
Quine = auto()
ROT13 = auto()
ReverseString = auto()
RomanNumeral = auto()
SelectionSort = auto()
SleepSort = auto()
@property
def key(self):
return self.name.lower()
def main():
glotter_main()
if __name__ == '__main__':
main()