mirror of
https://github.com/neumond/python-computer-craft.git
synced 2024-06-02 14:33:53 -04:00
Test descriptions
This commit is contained in:
parent
c2e1737000
commit
d57e6c60fe
8
tests/proto/helloworld.md
Normal file
8
tests/proto/helloworld.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
`py helloworld.py 42 abc`
|
||||
|
||||
```py
|
||||
print(args)
|
||||
for _ in range(2):
|
||||
print("Hello world!")
|
||||
print("Привет мир!")
|
||||
```
|
7
tests/proto/repl2p2.md
Normal file
7
tests/proto/repl2p2.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
`py`
|
||||
|
||||
```py
|
||||
>>> 2+2
|
||||
4
|
||||
>>> (ctrl+D)
|
||||
```
|
8
tests/proto/replterm.md
Normal file
8
tests/proto/replterm.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
`py`
|
||||
|
||||
```py
|
||||
>>> 'a' * 5
|
||||
'aaaaa'
|
||||
>>> (ctrl+C)
|
||||
interrupted
|
||||
```
|
Loading…
Reference in a new issue