]> git.madduck.net Git - etc/vim.git/blob - tests/data/fmtonoff2.py

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

43095060a2417a1fccce55942dd1a1221e4ac288
[etc/vim.git] / tests / data / fmtonoff2.py
1 import pytest
2
3 TmSt = 1
4 TmEx = 2
5
6 # fmt: off
7
8 # Test data:
9 #   Position, Volume, State, TmSt/TmEx/None, [call, [arg1...]]
10
11 @pytest.mark.parametrize('test', [
12
13     # Test don't manage the volume
14     [
15         ('stuff', 'in')
16     ],
17 ])
18 def test_fader(test):
19     pass
20
21 def check_fader(test):
22     pass
23
24 def test_calculate_fades():
25     calcs = [
26         # one is zero/none
27         (0, 4, 0, 0, 10,        0, 0, 6, 10),
28         (None, 4, 0, 0, 10,     0, 0, 6, 10),
29     ]
30
31 # fmt: on