Removed unused v->ghostzero
[gcalctool.git] / test / non_aop_input.txt
blobca9f6327dc80bd91698987a081c0f74a55822f09
2 # Input file for Gcalctool Automated Tests (non-arithmetic operator 
3 # precedence mode).
5 # These tests are used in conjunction with the runtests.py and 
6 # play_keystrokes.py Python scripts.
8 # $Header$
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
17 # Control-u
19 # - Scientific mode
20 # Control-s
22 # - Show Trailing Zeroes
23 # Control-t
25 # - Accuracy 
26 # a 9
28 # - Fixed point notation
29 # Alt-f
31 # - Degrees
32 # Alt-g
34 # Basic arithmetic
35 # - Addition
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
40 # - Subtraction
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
45 # - Multiplication
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
50 # - Division
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