我在Jupyter笔记本中使用ipwidgets,以便通过export default class boardTest {
shouldReturnCorrectLocationForCreatureByCreature() {
let board = new Board()
let creature = new Creature();
let unitTestPoint = new Point(0, 0);
board.add(unitTestPoint, creature);
console.log('board.getPoint(creature)', board.getPoint(creature)) //<= returns undefined
if (board.getPoint(creature) !== unitTestPoint) {
throw "Exception: => getPoint nie poprawnie zwraca Creature";
}
}
}
获得多个选择
是否有一种方法可以使返回元组按时间选择排序? 谢谢,