1
0
mirror of https://github.com/myhdl/myhdl.git synced 2024-12-14 07:44:38 +08:00

min max public attributes

This commit is contained in:
jand 2003-07-23 08:51:44 +00:00
parent 28950ab233
commit f0e6fa4647

View File

@ -58,9 +58,9 @@ class SigTest(TestCase):
self.negedgeWaiters = [object() for i in range(7)]
def testPublicInterface(self):
""" public interface of a sig: val, next, posedge, negedge"""
""" public interface of a sig: val, next, posedge, negedge, min, max"""
s1 = Signal(1)
expected = ['next', 'val', 'posedge', 'negedge']
expected = ['next', 'val', 'posedge', 'negedge', 'min', 'max']
iface = [attr for attr in dir(s1) if attr[0] != '_']
expected.sort()
iface.sort()