mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
v test-fmt: fix some embedded comments in expressions
This commit is contained in:
@ -38,39 +38,18 @@ const (
|
||||
|
||||
const (
|
||||
// Tetros' 4 possible states are encoded in binaries
|
||||
// 0000 0 0000 0 0000 0 0000 0 0000 0 0000 0
|
||||
// 0000 0 0000 0 0000 0 0000 0 0011 3 0011 3
|
||||
// 0110 6 0010 2 0011 3 0110 6 0001 1 0010 2
|
||||
// 0110 6 0111 7 0110 6 0011 3 0001 1 0010 2
|
||||
// There is a special case 1111, since 15 can't be used.
|
||||
b_tetros = [
|
||||
// 0000 0
|
||||
// 0000 0
|
||||
// 0110 6
|
||||
// 0110 6
|
||||
[66, 66, 66, 66],
|
||||
// 0000 0
|
||||
// 0000 0
|
||||
// 0010 2
|
||||
// 0111 7
|
||||
[27, 131, 72, 232],
|
||||
// 0000 0
|
||||
// 0000 0
|
||||
// 0011 3
|
||||
// 0110 6
|
||||
[36, 231, 36, 231],
|
||||
// 0000 0
|
||||
// 0000 0
|
||||
// 0110 6
|
||||
// 0011 3
|
||||
[63, 132, 63, 132],
|
||||
// 0000 0
|
||||
// 0011 3
|
||||
// 0001 1
|
||||
// 0001 1
|
||||
[311, 17, 223, 74],
|
||||
// 0000 0
|
||||
// 0011 3
|
||||
// 0010 2
|
||||
// 0010 2
|
||||
[322, 71, 113, 47],
|
||||
// Special case since 15 can't be used
|
||||
// 1111
|
||||
[1111, 9, 1111, 9],
|
||||
]
|
||||
// Each tetro has its unique color
|
||||
|
Reference in New Issue
Block a user