File: vars.test

package info (click to toggle)
wcalc 2.5-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,284 kB
  • sloc: ansic: 8,379; sh: 2,250; objc: 1,776; lex: 852; yacc: 603; makefile: 127
file content (12 lines) | stat: -rw-r--r-- 206 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
8/6 # should return 1.3333
\assert 1.33333
8/1 # should return 8
\assert 8
a+2 # should return 10
\assert 10
foo=5
\assert 10
foobar='sin(foo)'
\assert 10
foobar # should return 0.0871557
\assert 0.0871557