iCodeSometime / candidate

Lines not covered in tests TCV-001
Coverage
Critical
a year agoa year old
Lines not covered in tests
271                    KingType::legals::<InCheckType>(&mut movelist, &board, mask, Some(square))
272                }
273            }
274        } else {275            KingType::legals::<InCheckType>(&mut movelist, &board, mask, Some(square));276        }277
278        movelist.iter().fold(EMPTY, |acc, x| acc | x.bitboard)
279    }
Lines not covered in tests
268                    QueenType::legals::<InCheckType>(&mut movelist, &board, mask, Some(square))
269                }
270                Piece::King => {
271                    KingType::legals::<InCheckType>(&mut movelist, &board, mask, Some(square))272                }
273            }
274        } else {
Lines not covered in tests
265                    RookType::legals::<InCheckType>(&mut movelist, &board, mask, Some(square))
266                }
267                Piece::Queen => {
268                    QueenType::legals::<InCheckType>(&mut movelist, &board, mask, Some(square))269                }
270                Piece::King => {
271                    KingType::legals::<InCheckType>(&mut movelist, &board, mask, Some(square))
Lines not covered in tests
262                    BishopType::legals::<InCheckType>(&mut movelist, &board, mask, Some(square))
263                }
264                Piece::Rook => {
265                    RookType::legals::<InCheckType>(&mut movelist, &board, mask, Some(square))266                }
267                Piece::Queen => {
268                    QueenType::legals::<InCheckType>(&mut movelist, &board, mask, Some(square))
Lines not covered in tests
259                    KnightType::legals::<InCheckType>(&mut movelist, &board, mask, Some(square))
260                }
261                Piece::Bishop => {
262                    BishopType::legals::<InCheckType>(&mut movelist, &board, mask, Some(square))263                }
264                Piece::Rook => {
265                    RookType::legals::<InCheckType>(&mut movelist, &board, mask, Some(square))