Test cases fix
This commit is contained in:
parent
15692f0e89
commit
ecf05445b9
2 changed files with 5 additions and 5 deletions
|
|
@ -9,10 +9,10 @@ a.j = 10
|
|||
if a.j != 10:
|
||||
raise RuntimeError("Assignment to a.j failed.")
|
||||
|
||||
b = a.get_int(5)
|
||||
b = a.get_number(5)
|
||||
if b != 10:
|
||||
raise RuntimeError("get_int(5) should return 10.")
|
||||
raise RuntimeError("get_number(5) should return 10.")
|
||||
|
||||
b = a.get_int(6)
|
||||
b = a.get_number(6)
|
||||
if b != 0:
|
||||
raise RuntimeError("get_int(6) should return 0.")
|
||||
raise RuntimeError("get_number(6) should return 0.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue