We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55a99b7 commit 09dc84eCopy full SHA for 09dc84e
test/test_property.py
@@ -107,6 +107,14 @@ def test_value(self):
107
self.assertEqual(p3.value, [0])
108
self.assertEqual(p3.values, [0])
109
110
+ p4 = Property('myprop', value=0, dtype=DType.boolean)
111
+ self.assertEqual(p4.value, [False])
112
+ self.assertEqual(p4.values, [False])
113
+
114
+ p5 = Property('myprop', value=0)
115
+ self.assertEqual(p5.value, [0])
116
+ self.assertEqual(p5.values, [0])
117
118
def test_value_append(self):
119
# Test append w/o Property value or dtype
120
prop = Property(name="append")
0 commit comments