We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7880d18 commit bced5ddCopy full SHA for bced5dd
1 file changed
src/test/java/org/gephi/graph/impl/ElementPropertiesTest.java
@@ -26,6 +26,17 @@
26
*/
27
public class ElementPropertiesTest {
28
29
+ @Test
30
+ public void testDefaultsAlpha() {
31
+ NodeImpl.NodePropertiesImpl p = new NodeImpl.NodePropertiesImpl();
32
+ Assert.assertEquals(p.alpha(), 1f);
33
+ Assert.assertEquals(p.getTextProperties().getAlpha(), 1f);
34
+
35
+ EdgeImpl.EdgePropertiesImpl ep = new EdgeImpl.EdgePropertiesImpl();
36
+ Assert.assertEquals(ep.alpha(), 1f);
37
+ Assert.assertEquals(ep.getTextProperties().getAlpha(), 1f);
38
+ }
39
40
@Test
41
public void testNodeProperties() {
42
NodeImpl.NodePropertiesImpl p = new NodeImpl.NodePropertiesImpl();
0 commit comments