Code coverage report for lib/piece/king/index.js

Statements: 100% (12 / 12)      Branches: 100% (2 / 2)      Functions: 100% (4 / 4)      Lines: 100% (12 / 12)      Ignored: none     

All files » lib/piece/king/ » index.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24  1   2       1 1 1 1 1664 1664   1 1   2274     1580      
"use strict";
Object.defineProperties(exports, {
  King: {get: function() {
      return King;
    }},
  __esModule: {value: true}
});
var KING = require('../../brands').KING;
var Piece = require('../piece').Piece;
var Royal = require('../mobility/royal').Royal;
var King = function King(options) {
  $traceurRuntime.superCall(this, $King.prototype, "constructor", [options]);
  Royal.call(this);
};
var $King = King;
($traceurRuntime.createClass)(King, {
  get brand() {
    return KING;
  },
  get fenEncoding() {
    return this.isWhite ? 'K' : 'k';
  }
}, {}, Piece);