2 # Input file for Gcalctool Automated Tests (non-arithmetic operator
5 # These tests are used in conjunction with the runtests.py and
6 # play_keystrokes.py Python scripts.
10 # Copyright (c) 1987-2007 Sun Microsystems, Inc.
11 # All Rights Reserved.
14 # Make sure the calculator is in the right mode:
16 # - Non-arithmetic operator precedence
22 # - Show Trailing Zeroes
28 # - Fixed point notation
36 1 2 3 4 5 KP_Add 6 7 8 9 0 Return 80235.000000000
37 5 4 3 KP_Add 8 7 6 KP_Add 9 0 Return 1509.000000000
38 # 1 2 3 Period 4 5 KP_Add 6 7 Period 8 9 0 Return 191.340000000
41 # 1 2 3 4 5 KP_Subtract 7 8 9 0 Return 4455.000000000
42 # 1 2 3 4 5 KP_Subtract 6 7 8 9 0 Return -55545.000000000
43 # 5 4 3 Period 2 1 KP_Subtract 8 7 6 Period 9 0 Return -333.690000000
46 # 3 5 7 Period 9 7 5 KP_Multiply 2 6 4 Period 0 0 6 6 = 94507.762635000
47 # 0 Period 0 0 4 5 6 1 KP_Multiply 1 0 0 0 4 5 6 7 Period 7 8 = 45630.833644580
48 # 1 3 5 7 KP_Multiply 7 5 3 1 KP_Multiply 9 Period 8 7 6 = 100928443.692000000
51 # 5 8 0 KP_Divide 3 4 Period 2 5 7 Return 16.930846250
52 # 6 1 3 5 7 8 9 0 0 0 0 KP_Divide 3 4 6 Period 7 5 Return 176951377.072819034
53 # 2 4 6 8 0 0 0 KP_Divide 3 4 KP_Divide 5 6 7 Period 3 3 3 Return 127.946435857