-
Notifications
You must be signed in to change notification settings - Fork 120
/
add-probes.yaml
42 lines (39 loc) 路 1.49 KB
/
add-probes.yaml
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
---
tests:
- /program/errors[count(error)=0]
- /program/sheets/sheet[contains(text(),'add-probes')]
- //metas[count(.//meta[head/text()='probe'])=6]
- //meta[head/text()='probe' and tail/text()='Q.org.eolang' and part/text()='Q.org.eolang']
- //meta[head/text()='probe' and tail/text()='Q.org.eolang.txt' and part/text()='Q.org.eolang.txt']
- //meta[head/text()='probe' and tail/text()='Q.org.eolang.txt.sprintf' and part/text()='Q.org.eolang.txt.sprintf']
- //meta[head/text()='probe' and tail/text()='Q.org.eolang.car' and part/text()='Q.org.eolang.car']
- //meta[head/text()='probe' and tail/text()='Q.org.eolang.car.engine' and part/text()='Q.org.eolang.car.engine']
- //meta[head/text()='probe' and tail/text()='Q.org.eolang.car.engine.start' and part/text()='Q.org.eolang.car.engine.start']
eo: |
+home https://github.com/objectionary/eo
+package org.eolang.custom
+version 0.0.0
# This is the default 64+ symbols comment in front of abstract object.
[] > app
QQ.txt.sprintf > @
"Hello, world!\n"
start. > a
engine.
QQ.car
and. > fib
stdout
sprintf
"%dth Fibonacci number is %d\n"
n
fibonacci n > f
true
# This is the default 64+ symbols comment in front of abstract object.
[i] > other
stdout > @
sprintf
"%i"
$.other 1 > one
memory 0 > price
# This is the default 64+ symbols comment in front of abstract object.
[p] > set-price
^.price.write p > @