blob 6df44c6a4c27ad89f736e572359d93aae392f721 889 bytes (raw)
name: testing/examples/ob-calc-test.org # note: path name is non-authoritative(*)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
| | #+TITLE: Tests for ob-calc
#+OPTIONS: ^:nil
* Simple
:PROPERTIES:
:ID: 40e4cd26-fe15-45c0-938b-111e021a5a99
:END:
#+BEGIN_SRC calc :results silent
1 * 2
#+END_SRC
#+BEGIN_SRC calc :results silent
12 + 16 - 1
#+END_SRC
#+BEGIN_SRC calc :results silent
inv(a)
#+END_SRC
* Tables
:PROPERTIES:
:ID: 138938e1-f0ba-4c2b-babe-5d20f2b83557
:END:
#+NAME: ob-calc-table-1
| 1 | 2 | 3 |
| 5 | 6 | 7 |
| 9 | 14 | 11 |
#+NAME: ob-calc-table-2
| 1 | 2 | 3 | 4 | 5 |
#+NAME: ob-calc-table-3
| 1 |
| 2 |
| 3 |
#+BEGIN_SRC calc :results silent :var a=ob-calc-table-1
inv(a)
#+END_SRC
#+BEGIN_SRC calc :results silent :var a=ob-calc-table-2
a*2 - 2
#+END_SRC
#+BEGIN_SRC calc :results silent :var a=ob-calc-table-2
vmean(a)
#+END_SRC
#+BEGIN_SRC calc :results silent :var a=ob-calc-table-3
a
#+END_SRC
#+BEGIN_SRC calc :results silent :var a=ob-calc-table-2
a
#+END_SRC
|
debug log:
solving 6df44c6a4 ...
found 6df44c6a4 in https://list.orgmode.org/orgmode/877ci2261h.fsf@gmail.com/
applying [1/1] https://list.orgmode.org/orgmode/877ci2261h.fsf@gmail.com/
diff --git a/testing/examples/ob-calc-test.org b/testing/examples/ob-calc-test.org
new file mode 100644
index 000000000..6df44c6a4
Checking patch testing/examples/ob-calc-test.org...
Applied patch testing/examples/ob-calc-test.org cleanly.
index at:
100644 6df44c6a4c27ad89f736e572359d93aae392f721 testing/examples/ob-calc-test.org
(*) Git path names are given by the tree(s) the blob belongs to.
Blobs themselves have no identifier aside from the hash of its contents.^
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).