-
Notifications
You must be signed in to change notification settings - Fork 0
/
.brutal.yml
55 lines (49 loc) · 1.3 KB
/
.brutal.yml
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
---
header: |
# frozen_string_literal: false
require 'simplecov'
::SimpleCov.command_name 'Brutal test suite'
::SimpleCov.start
require './lib/sashite-gan'
subject: |
Sashite::GAN.parse("%{string}")
contexts:
string:
- C:R
- c:-k
- M:B
- s:-k
- S:-K
- S:+P
- X:-G
- X:+-G
- DAI_DAI_SHOGI:PH
- FOO:+Z
actuals:
- "(%{subject} == \"C:R\")"
- "%{subject}.eql?(\"C:R\")"
- "(%{subject} == Sashite::GAN.parse(\"C:R\"))"
- "%{subject}.eql?(Sashite::GAN.parse(\"C:R\"))"
- "%{subject}.inspect.to_s"
- "%{subject}.class.inspect"
- "(%{subject}.abbr == \"R\")"
- "%{subject}.abbr.eql?(\"R\")"
- "(%{subject}.abbr == Sashite::GAN.parse(\"C:R\").abbr)"
- "%{subject}.abbr.eql?(Sashite::GAN.parse(\"C:R\").abbr)"
- "%{subject}.abbr.inspect.to_s"
- "%{subject}.abbr.to_s"
- "%{subject}.style"
- "%{subject}.king?"
- "%{subject}.topside?"
- "%{subject}.bottomside?"
- "%{subject}.to_s"
- "%{subject}.topside.to_s"
- "%{subject}.topside.class.inspect"
- "%{subject}.bottomside.to_s"
- "%{subject}.bottomside.class.inspect"
- "%{subject}.oppositeside.to_s"
- "%{subject}.oppositeside.class.inspect"
- "%{subject}.promote.to_s"
- "%{subject}.promote.class.inspect"
- "%{subject}.unpromote.to_s"
- "%{subject}.unpromote.class.inspect"