forked from M-Labs/artiq
test_arguments: rename ndecimals to precision
This commit is contained in:
parent
94e076e976
commit
8589da0723
|
@ -9,7 +9,7 @@ from artiq.language.environment import BooleanValue, EnumerationValue, \
|
||||||
class NumberValueCase(unittest.TestCase):
|
class NumberValueCase(unittest.TestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
self.default_value = NumberValue()
|
self.default_value = NumberValue()
|
||||||
self.int_value = NumberValue(42, step=1, ndecimals=0)
|
self.int_value = NumberValue(42, step=1, precision=0)
|
||||||
self.float_value = NumberValue(42)
|
self.float_value = NumberValue(42)
|
||||||
|
|
||||||
def test_invalid_default(self):
|
def test_invalid_default(self):
|
||||||
|
|
Loading…
Reference in New Issue