MCPcopy Index your code
hub / github.com/geekcomputers/Python / home

Method home

Test-Case-Generator/test_case.py:21–171  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

19 self.test_case_counter = None
20
21 def home(self):
22 self.statement = Label(
23 gui,
24 text="Select Test Case Type",
25 fg="white",
26 height=1,
27 font=("calibre", 12, "normal"),
28 )
29 self.statement.configure(bg=mycolor)
30 self.button1 = Button(
31 gui,
32 justify=LEFT,
33 text="T\nn \nA1 A2 A3...An\nn \nA1 A2 A3...An",
34 width=13,
35 fg="white",
36 bd=3,
37 command=lambda: Type1(gui),
38 bg="red",
39 font="calibre",
40 )
41 self.button1.configure(background="grey20")
42 self.button2 = Button(
43 gui,
44 justify=LEFT,
45 text="T\nn m \nA1 A2 A3...An\nn m\nA1 A2 A3...An",
46 fg="white",
47 command=lambda: Type2(gui),
48 width=13,
49 font="calibre",
50 bd=3,
51 )
52 self.button2.configure(background="grey20")
53 self.button3 = Button(
54 gui,
55 justify=LEFT,
56 text="T\nA1 B1\nA2 B2\n(t rows of)\n(A, B pair)",
57 fg="white",
58 command=lambda: Type3(gui),
59 width=13,
60 font="calibre",
61 bd=3,
62 )
63 self.button3.configure(background="grey20")
64 self.button4 = Button(
65 gui,
66 justify=LEFT,
67 text="T\nn m \nA1 A2...An\nB1 B2...Bm\n... ...",
68 fg="white",
69 command=lambda: Type4(gui),
70 width=13,
71 font="calibre",
72 bd=3,
73 )
74 self.button4.configure(background="grey20")
75 self.button5 = Button(
76 gui,
77 justify=LEFT,
78 text="T\nn m k\nn m k\n(t rows of)\n(n m k pair)",

Callers 1

test_case.pyFile · 0.80

Calls 12

newformatMethod · 0.95
retrieve_homeMethod · 0.95
Type1Class · 0.85
Type2Class · 0.85
Type3Class · 0.85
Type4Class · 0.85
Type5Class · 0.85
Type6Class · 0.85
Type7Class · 0.85
Type8Class · 0.85
Type9Class · 0.85
Type10Class · 0.85

Tested by

no test coverage detected