Beispiel #1
0
def main():
    """ Runs the MAIN PROGRAM. """
    print("----------------------------------------------")
    print("Integration Testing of the INTEGRATED PROGRAM:")
    print("----------------------------------------------")

    data = DataContainer()
    root = tkinter.Tk()

    frame1 = m1.connect_frame(root, data)
    frame1.grid(row=0, column=0)

    frame2 = m1.teleop_frame(root, data)
    frame2.grid(row=0, column=1)

    frame3 = m1.waypoint_frame(root, data)
    frame3.grid(row=0, column=2)

    frame4 = m2.my_frame_hours(root, data)
    frame4.grid(row=1, column=0)

    frame5 = m2.my_frame_robot(root, data)
    frame5.grid(row=1, column=1)

    frame6 = m3.my_frame(root, data)
    frame6.grid(row=2, column=0)

    frame7 = m3.movement_frame(root, data)
    frame7.grid(row=2, column=1)

    frame8 = m3.conversation_frame(root, data)
    frame8.grid(row=2, column=2)

    root.mainloop()
Beispiel #2
0
def main():
    """
    Tests functions in this module.
    Intended to be used internally by the primary author of this module.
    """
    print('-------------------------------')
    print('Testing functions in module m2:')
    print('-------------------------------')

    data1 = m0.DataContainer()

    root = tkinter.Tk()

    frame1 = m1.connect_frame(root, data1)
    frame1.grid(row=0, column=0)

    frame5 = m1.teleop_frame(root, data1)
    frame5.grid()

    frame6 = m1.waypoint_frame(root, data1)
    frame6.grid()

    frame3 = m3.my_frame(root, data1)
    frame3.grid(row=1, column=0)

    frame4 = m3.conversation_frame(root, data1)
    frame4.grid(row=2, column=0)

    frame5 = m3.movement_frame(root, data1)
    frame5.grid(row=0, column=1)

    frame2 = my_frame_robot(root, data1)
    frame2.grid(row=1, column=1)

    frame = my_frame_hours(root, data1)
    frame.grid(row=2, column=1)

    root.mainloop()