Rectangle2dfxTest.java 文件源码

java
阅读 35 收藏 0 点赞 0 评论 0

项目:afc 作者:
@Test
public void heightProperty() {
    assertEpsilonEquals(10, this.shape.getHeight());

    ReadOnlyDoubleProperty property = this.shape.heightProperty();
    assertNotNull(property);
    assertEpsilonEquals(10, property.get());

    this.shape.setMinY(9);
    assertEpsilonEquals(9, property.get());

    this.shape.setMinY(-5);
    assertEpsilonEquals(23, property.get());

    this.shape.setMaxY(0);
    assertEpsilonEquals(5, property.get());
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号