Ellipse2dfxTest.java 文件源码

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

项目:afc 作者:
@Test
public void widthProperty() {
    assertEpsilonEquals(5, this.shape.getWidth());

    ReadOnlyDoubleProperty property = this.shape.widthProperty();
    assertNotNull(property);
    assertEpsilonEquals(5, property.get());

    this.shape.setMinX(7);
    assertEpsilonEquals(3, property.get());

    this.shape.setMinX(-5);
    assertEpsilonEquals(15, property.get());

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


问题


面经


文章

微信
公众号

扫码关注公众号