mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 07:31:15 +08:00
afc82ff23e
Fixes #5251.
42 lines
388 B
Plaintext
42 lines
388 B
Plaintext
|
|
####################
|
|
# Validate basic expressions
|
|
1.5
|
|
1.666667
|
|
1
|
|
1
|
|
1.667
|
|
4
|
|
4
|
|
2
|
|
0.5
|
|
49
|
|
0
|
|
4
|
|
-10
|
|
-2
|
|
-8
|
|
|
|
####################
|
|
# Validate some integral computations
|
|
1
|
|
10
|
|
100
|
|
1000
|
|
1000000000000000
|
|
100000000000000
|
|
-1000000000000000
|
|
0
|
|
1
|
|
500000000000000
|
|
|
|
####################
|
|
# Validate how variables in an expression are handled
|
|
1
|
|
2
|
|
-4.5
|
|
-4
|
|
|
|
####################
|
|
# Validate math error reporting
|