wzrdbrain 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- wzrdbrain-0.1.0/.github/workflows/ci.yml +30 -0
- wzrdbrain-0.1.0/.github/workflows/release.yml +30 -0
- wzrdbrain-0.1.0/.gitignore +18 -0
- wzrdbrain-0.1.0/CODE_OF_CONDUCT.md +4 -0
- wzrdbrain-0.1.0/CONTRIBUTING.md +21 -0
- wzrdbrain-0.1.0/LICENSE +21 -0
- wzrdbrain-0.1.0/PKG-INFO +107 -0
- wzrdbrain-0.1.0/README.md +52 -0
- wzrdbrain-0.1.0/pyproject.toml +65 -0
- wzrdbrain-0.1.0/src/wzrdbrain/__init__.py +10 -0
- wzrdbrain-0.1.0/src/wzrdbrain/wzrdbrain.py +93 -0
- wzrdbrain-0.1.0/tests/test_wzrdbrain.py +75 -0
@@ -0,0 +1,30 @@
|
|
1
|
+
name: CI
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: ["**"]
|
6
|
+
pull_request:
|
7
|
+
|
8
|
+
jobs:
|
9
|
+
test:
|
10
|
+
runs-on: ubuntu-latest
|
11
|
+
strategy:
|
12
|
+
matrix:
|
13
|
+
python-version: ["3.9", "3.10", "3.11", "3.12"]
|
14
|
+
steps:
|
15
|
+
- uses: actions/checkout@v4
|
16
|
+
- uses: actions/setup-python@v5
|
17
|
+
with:
|
18
|
+
python-version: ${{ matrix.python-version }}
|
19
|
+
- name: Install package and dev deps
|
20
|
+
run: |
|
21
|
+
python -m pip install --upgrade pip
|
22
|
+
pip install -e ".[dev]"
|
23
|
+
- name: Lint (ruff)
|
24
|
+
run: ruff check .
|
25
|
+
- name: Format check (black)
|
26
|
+
run: black --check .
|
27
|
+
- name: Type check (mypy)
|
28
|
+
run: mypy .
|
29
|
+
- name: Tests (pytest)
|
30
|
+
run: pytest
|
@@ -0,0 +1,30 @@
|
|
1
|
+
name: Release
|
2
|
+
|
3
|
+
on:
|
4
|
+
release:
|
5
|
+
types: [published]
|
6
|
+
|
7
|
+
permissions:
|
8
|
+
contents: read
|
9
|
+
id-token: write # Required for PyPI Trusted Publishing
|
10
|
+
|
11
|
+
jobs:
|
12
|
+
build-and-publish:
|
13
|
+
runs-on: ubuntu-latest
|
14
|
+
steps:
|
15
|
+
- uses: actions/checkout@v4
|
16
|
+
- uses: actions/setup-python@v5
|
17
|
+
with:
|
18
|
+
python-version: "3.12"
|
19
|
+
- name: Build
|
20
|
+
run: |
|
21
|
+
python -m pip install --upgrade pip
|
22
|
+
pip install build
|
23
|
+
python -m build
|
24
|
+
- name: Publish to PyPI
|
25
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
26
|
+
with:
|
27
|
+
# To test first against TestPyPI, uncomment the next two lines and add a prerelease:
|
28
|
+
# repository-url: https://test.pypi.org/legacy/
|
29
|
+
# skip-existing: true
|
30
|
+
print-hash: true
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# Contributing
|
2
|
+
|
3
|
+
Thanks for your interest in contributing to wzrdbrain!
|
4
|
+
|
5
|
+
- Discuss major changes in an issue before opening a PR.
|
6
|
+
- Keep the public API minimal, well-documented, and typed.
|
7
|
+
- Run `ruff`, `black`, `mypy`, and `pytest` locally before pushing.
|
8
|
+
- Add or update tests for behavior changes.
|
9
|
+
|
10
|
+
## Dev setup
|
11
|
+
|
12
|
+
```bash
|
13
|
+
python -m venv .venv
|
14
|
+
source .venv/bin/activate
|
15
|
+
pip install -e ".[dev]"
|
16
|
+
```
|
17
|
+
|
18
|
+
## Commit style
|
19
|
+
|
20
|
+
- Use clear, concise messages (e.g., `feat: add X`, `fix: correct Y`).
|
21
|
+
- Prefer small, focused PRs.
|
wzrdbrain-0.1.0/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2025 Nazrul Kamaruddin
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
wzrdbrain-0.1.0/PKG-INFO
ADDED
@@ -0,0 +1,107 @@
|
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: wzrdbrain
|
3
|
+
Version: 0.1.0
|
4
|
+
Summary: Basic APIs to generate tricks for wizard skating.
|
5
|
+
Project-URL: Homepage, https://github.com/nazroll/wzrdbrain
|
6
|
+
Project-URL: Documentation, https://github.com/nazroll/wzrdbrain#readme
|
7
|
+
Project-URL: Repository, https://github.com/nazroll/wzrdbrain
|
8
|
+
Project-URL: Issues, https://github.com/nazroll/wzrdbrain/issues
|
9
|
+
Author: nazroll
|
10
|
+
License: MIT License
|
11
|
+
|
12
|
+
Copyright (c) 2025 Nazrul Kamaruddin
|
13
|
+
|
14
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
15
|
+
of this software and associated documentation files (the "Software"), to deal
|
16
|
+
in the Software without restriction, including without limitation the rights
|
17
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
18
|
+
copies of the Software, and to permit persons to whom the Software is
|
19
|
+
furnished to do so, subject to the following conditions:
|
20
|
+
|
21
|
+
The above copyright notice and this permission notice shall be included in
|
22
|
+
all copies or substantial portions of the Software.
|
23
|
+
|
24
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
25
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
26
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
27
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
28
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
29
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
30
|
+
THE SOFTWARE.
|
31
|
+
License-File: LICENSE
|
32
|
+
Keywords: generator,inline skating,random,tricks,wizard skating
|
33
|
+
Classifier: Development Status :: 3 - Alpha
|
34
|
+
Classifier: Intended Audience :: Developers
|
35
|
+
Classifier: License :: OSI Approved :: MIT License
|
36
|
+
Classifier: Programming Language :: Python
|
37
|
+
Classifier: Programming Language :: Python :: 3
|
38
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
39
|
+
Classifier: Programming Language :: Python :: 3.9
|
40
|
+
Classifier: Programming Language :: Python :: 3.10
|
41
|
+
Classifier: Programming Language :: Python :: 3.11
|
42
|
+
Classifier: Programming Language :: Python :: 3.12
|
43
|
+
Classifier: Programming Language :: Python :: 3.13
|
44
|
+
Classifier: Topic :: Games/Entertainment
|
45
|
+
Classifier: Topic :: Software Development :: Libraries
|
46
|
+
Classifier: Typing :: Typed
|
47
|
+
Requires-Python: >=3.9
|
48
|
+
Provides-Extra: dev
|
49
|
+
Requires-Dist: black>=24.3; extra == 'dev'
|
50
|
+
Requires-Dist: build>=1.2; extra == 'dev'
|
51
|
+
Requires-Dist: mypy>=1.10; extra == 'dev'
|
52
|
+
Requires-Dist: pytest>=8; extra == 'dev'
|
53
|
+
Requires-Dist: ruff>=0.5; extra == 'dev'
|
54
|
+
Description-Content-Type: text/markdown
|
55
|
+
|
56
|
+
# wzrdbrain
|
57
|
+
|
58
|
+
Basic APIs to generate tricks for wizard skating.
|
59
|
+
|
60
|
+
## Installation
|
61
|
+
|
62
|
+
```bash
|
63
|
+
pip install wzrdbrain
|
64
|
+
```
|
65
|
+
|
66
|
+
## Usage
|
67
|
+
|
68
|
+
```python
|
69
|
+
from wzrdbrain import generate_trick, generate_tricks
|
70
|
+
|
71
|
+
# Single trick (random)
|
72
|
+
print(generate_trick()) # e.g., "Front Open Lion"
|
73
|
+
|
74
|
+
# Multiple tricks
|
75
|
+
print(generate_combo(5)) # Maximum of 5 tricks in a combo (duplicates allowed)
|
76
|
+
```
|
77
|
+
|
78
|
+
## Development
|
79
|
+
|
80
|
+
```bash
|
81
|
+
# clone your repo
|
82
|
+
python -m venv .venv
|
83
|
+
source .venv/bin/activate # on Windows: .venv\Scripts\activate
|
84
|
+
pip install -e ".[dev]"
|
85
|
+
|
86
|
+
# lint + format
|
87
|
+
ruff check .
|
88
|
+
black .
|
89
|
+
|
90
|
+
# type-check
|
91
|
+
mypy .
|
92
|
+
|
93
|
+
# tests
|
94
|
+
pytest
|
95
|
+
```
|
96
|
+
|
97
|
+
## Release
|
98
|
+
|
99
|
+
1. Update version in `pyproject.toml` and `src/wzrdbrain/__init__.py`.
|
100
|
+
2. Create a Git tag and GitHub Release, e.g. `v0.1.0`.
|
101
|
+
3. The release workflow will build and publish to PyPI via Trusted Publishing.
|
102
|
+
|
103
|
+
## Notes
|
104
|
+
|
105
|
+
- Reproducibility: Set `seed` to get the same result across runs.
|
106
|
+
- Categories: Use `categories()` to see available groups and restrict generation.
|
107
|
+
- Typing: This library ships `py.typed` for type checkers.
|
@@ -0,0 +1,52 @@
|
|
1
|
+
# wzrdbrain
|
2
|
+
|
3
|
+
Basic APIs to generate tricks for wizard skating.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
```bash
|
8
|
+
pip install wzrdbrain
|
9
|
+
```
|
10
|
+
|
11
|
+
## Usage
|
12
|
+
|
13
|
+
```python
|
14
|
+
from wzrdbrain import generate_trick, generate_tricks
|
15
|
+
|
16
|
+
# Single trick (random)
|
17
|
+
print(generate_trick()) # e.g., "Front Open Lion"
|
18
|
+
|
19
|
+
# Multiple tricks
|
20
|
+
print(generate_combo(5)) # Maximum of 5 tricks in a combo (duplicates allowed)
|
21
|
+
```
|
22
|
+
|
23
|
+
## Development
|
24
|
+
|
25
|
+
```bash
|
26
|
+
# clone your repo
|
27
|
+
python -m venv .venv
|
28
|
+
source .venv/bin/activate # on Windows: .venv\Scripts\activate
|
29
|
+
pip install -e ".[dev]"
|
30
|
+
|
31
|
+
# lint + format
|
32
|
+
ruff check .
|
33
|
+
black .
|
34
|
+
|
35
|
+
# type-check
|
36
|
+
mypy .
|
37
|
+
|
38
|
+
# tests
|
39
|
+
pytest
|
40
|
+
```
|
41
|
+
|
42
|
+
## Release
|
43
|
+
|
44
|
+
1. Update version in `pyproject.toml` and `src/wzrdbrain/__init__.py`.
|
45
|
+
2. Create a Git tag and GitHub Release, e.g. `v0.1.0`.
|
46
|
+
3. The release workflow will build and publish to PyPI via Trusted Publishing.
|
47
|
+
|
48
|
+
## Notes
|
49
|
+
|
50
|
+
- Reproducibility: Set `seed` to get the same result across runs.
|
51
|
+
- Categories: Use `categories()` to see available groups and restrict generation.
|
52
|
+
- Typing: This library ships `py.typed` for type checkers.
|
@@ -0,0 +1,65 @@
|
|
1
|
+
[build-system]
|
2
|
+
requires = ["hatchling>=1.25"]
|
3
|
+
build-backend = "hatchling.build"
|
4
|
+
|
5
|
+
[project]
|
6
|
+
name = "wzrdbrain"
|
7
|
+
version = "0.1.0"
|
8
|
+
description = "Basic APIs to generate tricks for wizard skating."
|
9
|
+
readme = "README.md"
|
10
|
+
requires-python = ">=3.9"
|
11
|
+
license = { file = "LICENSE" }
|
12
|
+
authors = [
|
13
|
+
{ name = "nazroll" }
|
14
|
+
]
|
15
|
+
keywords = ["wizard skating", "tricks", "random", "generator", "inline skating"]
|
16
|
+
classifiers = [
|
17
|
+
"Development Status :: 3 - Alpha",
|
18
|
+
"Intended Audience :: Developers",
|
19
|
+
"License :: OSI Approved :: MIT License",
|
20
|
+
"Programming Language :: Python",
|
21
|
+
"Programming Language :: Python :: 3",
|
22
|
+
"Programming Language :: Python :: 3 :: Only",
|
23
|
+
"Programming Language :: Python :: 3.9",
|
24
|
+
"Programming Language :: Python :: 3.10",
|
25
|
+
"Programming Language :: Python :: 3.11",
|
26
|
+
"Programming Language :: Python :: 3.12",
|
27
|
+
"Programming Language :: Python :: 3.13",
|
28
|
+
"Typing :: Typed",
|
29
|
+
"Topic :: Games/Entertainment",
|
30
|
+
"Topic :: Software Development :: Libraries",
|
31
|
+
]
|
32
|
+
|
33
|
+
[project.optional-dependencies]
|
34
|
+
dev = [
|
35
|
+
"pytest>=8",
|
36
|
+
"ruff>=0.5",
|
37
|
+
"black>=24.3",
|
38
|
+
"mypy>=1.10",
|
39
|
+
"build>=1.2",
|
40
|
+
]
|
41
|
+
|
42
|
+
[project.urls]
|
43
|
+
Homepage = "https://github.com/nazroll/wzrdbrain"
|
44
|
+
Documentation = "https://github.com/nazroll/wzrdbrain#readme"
|
45
|
+
Repository = "https://github.com/nazroll/wzrdbrain"
|
46
|
+
Issues = "https://github.com/nazroll/wzrdbrain/issues"
|
47
|
+
|
48
|
+
[tool.hatch.build.targets.wheel]
|
49
|
+
packages = ["src/wzrdbrain"]
|
50
|
+
|
51
|
+
[tool.ruff]
|
52
|
+
line-length = 100
|
53
|
+
lint.extend-select = ["Q", "UP"]
|
54
|
+
lint.extend-ignore = ["E501"]
|
55
|
+
|
56
|
+
[tool.black]
|
57
|
+
line-length = 100
|
58
|
+
|
59
|
+
[tool.pytest.ini_options]
|
60
|
+
testpaths = ["tests"]
|
61
|
+
addopts = "-q"
|
62
|
+
|
63
|
+
[tool.mypy]
|
64
|
+
strict = true
|
65
|
+
warn_unused_ignores = true
|
@@ -0,0 +1,93 @@
|
|
1
|
+
import random
|
2
|
+
from typing import Optional
|
3
|
+
|
4
|
+
# Trick data definitions
|
5
|
+
direction = ["front", "back"]
|
6
|
+
stance = ["open", "closed"]
|
7
|
+
move = [
|
8
|
+
"predator",
|
9
|
+
"predator one",
|
10
|
+
"parallel",
|
11
|
+
"tree",
|
12
|
+
"gazelle",
|
13
|
+
"gazelle s",
|
14
|
+
"lion",
|
15
|
+
"lion s",
|
16
|
+
"toe press",
|
17
|
+
"heel press",
|
18
|
+
"toe roll",
|
19
|
+
"heel roll",
|
20
|
+
"360",
|
21
|
+
"180",
|
22
|
+
"parallel slide",
|
23
|
+
"soul slide",
|
24
|
+
"acid slide",
|
25
|
+
"mizu slide",
|
26
|
+
"star slide",
|
27
|
+
"fast slide",
|
28
|
+
"back slide",
|
29
|
+
]
|
30
|
+
exclude_stance = [
|
31
|
+
"predator",
|
32
|
+
"predator one",
|
33
|
+
"toe press",
|
34
|
+
"toe roll",
|
35
|
+
"heel press",
|
36
|
+
"heel roll",
|
37
|
+
"360",
|
38
|
+
"180",
|
39
|
+
"parallel slide",
|
40
|
+
"soul slide",
|
41
|
+
"acid slide",
|
42
|
+
"mizu slide",
|
43
|
+
"star slide",
|
44
|
+
"fast slide",
|
45
|
+
"back slide",
|
46
|
+
]
|
47
|
+
use_fakie = [
|
48
|
+
"toe press",
|
49
|
+
"toe roll",
|
50
|
+
"heel press",
|
51
|
+
"heel roll",
|
52
|
+
"360",
|
53
|
+
"180",
|
54
|
+
"parallel slide",
|
55
|
+
"soul slide",
|
56
|
+
"acid slide",
|
57
|
+
"mizu slide",
|
58
|
+
"star slide",
|
59
|
+
"fast slide",
|
60
|
+
"back slide",
|
61
|
+
]
|
62
|
+
|
63
|
+
|
64
|
+
# Generate a trick
|
65
|
+
def generate_trick() -> list[str]:
|
66
|
+
selected_move = random.choice(move)
|
67
|
+
trick = [random.choice(direction)]
|
68
|
+
|
69
|
+
if selected_move not in exclude_stance:
|
70
|
+
trick.append(random.choice(stance))
|
71
|
+
|
72
|
+
trick.append(selected_move)
|
73
|
+
return trick
|
74
|
+
|
75
|
+
|
76
|
+
# Generate a combination of tricks. Default setting is random, between 1-5 tricks.
|
77
|
+
def generate_combo(num_of_tricks: Optional[int] = None) -> list[str]:
|
78
|
+
if num_of_tricks is None:
|
79
|
+
num_of_tricks = random.randint(1, 5)
|
80
|
+
|
81
|
+
trick_line: list[str] = []
|
82
|
+
for i in range(num_of_tricks):
|
83
|
+
trick_parts = generate_trick()
|
84
|
+
# If the move uses the fakie semantics, convert the direction "front"/"back" to "forward"/"fakie"
|
85
|
+
if trick_parts:
|
86
|
+
move_name = trick_parts[-1]
|
87
|
+
if move_name in use_fakie:
|
88
|
+
if trick_parts[0] == "back":
|
89
|
+
trick_parts[0] = "fakie"
|
90
|
+
elif trick_parts[0] == "front":
|
91
|
+
trick_parts[0] = "forward"
|
92
|
+
trick_line.append(" ".join(trick_parts))
|
93
|
+
return trick_line
|
@@ -0,0 +1,75 @@
|
|
1
|
+
from pathlib import Path
|
2
|
+
import sys
|
3
|
+
from collections.abc import Iterator, Sequence
|
4
|
+
|
5
|
+
import pytest
|
6
|
+
|
7
|
+
# Ensure src is on path so we can import the module under test
|
8
|
+
ROOT = Path(__file__).resolve().parents[1]
|
9
|
+
SRC = ROOT / "src"
|
10
|
+
sys.path.insert(0, str(SRC))
|
11
|
+
|
12
|
+
import wzrdbrain.wzrdbrain as wb # noqa: E402
|
13
|
+
|
14
|
+
|
15
|
+
def test_generate_trick_exclude_stance(monkeypatch: pytest.MonkeyPatch) -> None:
|
16
|
+
# Force choices so selected_move is in exclude_stance ('predator')
|
17
|
+
def fake_choice(seq: Sequence[str]) -> str:
|
18
|
+
if seq is wb.move:
|
19
|
+
return "predator"
|
20
|
+
if seq is wb.direction:
|
21
|
+
return "front"
|
22
|
+
if seq is wb.stance:
|
23
|
+
return "open"
|
24
|
+
raise RuntimeError("unexpected seq")
|
25
|
+
|
26
|
+
# patch the module-level random.choice by target string to avoid mypy attr warnings
|
27
|
+
monkeypatch.setattr("wzrdbrain.wzrdbrain.random.choice", fake_choice)
|
28
|
+
trick = wb.generate_trick()
|
29
|
+
assert trick == ["front", "predator"]
|
30
|
+
|
31
|
+
|
32
|
+
def test_generate_trick_with_stance(monkeypatch: pytest.MonkeyPatch) -> None:
|
33
|
+
# Force choices so selected_move is NOT in exclude_stance ('parallel')
|
34
|
+
def fake_choice(seq: Sequence[str]) -> str:
|
35
|
+
if seq is wb.move:
|
36
|
+
return "parallel"
|
37
|
+
if seq is wb.direction:
|
38
|
+
return "back"
|
39
|
+
if seq is wb.stance:
|
40
|
+
return "open"
|
41
|
+
raise RuntimeError("unexpected seq")
|
42
|
+
|
43
|
+
monkeypatch.setattr("wzrdbrain.wzrdbrain.random.choice", fake_choice)
|
44
|
+
trick = wb.generate_trick()
|
45
|
+
assert trick == ["back", "open", "parallel"]
|
46
|
+
|
47
|
+
|
48
|
+
def test_generate_combo_fakie_conversion(monkeypatch: pytest.MonkeyPatch) -> None:
|
49
|
+
# Provide deterministic successive generate_trick outputs to test fakie/forward conversion
|
50
|
+
seq: Iterator[list[str]] = iter(
|
51
|
+
[
|
52
|
+
["front", "parallel"], # not in use_fakie -> unchanged
|
53
|
+
["back", "toe press"], # in use_fakie -> back -> fakie (since it's subsequent)
|
54
|
+
["front", "360"], # in use_fakie -> front -> forward
|
55
|
+
]
|
56
|
+
)
|
57
|
+
|
58
|
+
def fake_generate_trick() -> list[str]:
|
59
|
+
return next(seq)
|
60
|
+
|
61
|
+
monkeypatch.setattr(wb, "generate_trick", fake_generate_trick)
|
62
|
+
line = wb.generate_combo(3)
|
63
|
+
assert line == [
|
64
|
+
"front parallel",
|
65
|
+
"fakie toe press",
|
66
|
+
"forward 360",
|
67
|
+
]
|
68
|
+
|
69
|
+
|
70
|
+
def test_generate_combo_default_length() -> None:
|
71
|
+
# Default should produce between 1 and 5 tricks
|
72
|
+
line = wb.generate_combo()
|
73
|
+
assert 1 <= len(line) <= 5
|
74
|
+
for item in line:
|
75
|
+
assert isinstance(item, str)
|