mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-23 18:14:06 +00:00
Added more debug prints to cabac_match.py
This commit is contained in:
parent
d36ba85861
commit
128ebf6a2b
|
@ -30,6 +30,7 @@ with open(file1, "r") as fd1:
|
||||||
with open(file2, "r") as fd2:
|
with open(file2, "r") as fd2:
|
||||||
for file1_line in fd1:
|
for file1_line in fd1:
|
||||||
file1_values = file1_line.strip().split()
|
file1_values = file1_line.strip().split()
|
||||||
|
|
||||||
#print(file1_values[0])
|
#print(file1_values[0])
|
||||||
|
|
||||||
#print("{0} {1}".format(file1_values[0], check_int(file1_values[0])))
|
#print("{0} {1}".format(file1_values[0], check_int(file1_values[0])))
|
||||||
|
@ -39,6 +40,8 @@ with open(file1, "r") as fd1:
|
||||||
while 1:
|
while 1:
|
||||||
if int(file1_values[0]) == int(file2_values[0]):
|
if int(file1_values[0]) == int(file2_values[0]):
|
||||||
if check_values(file1_values, file2_values) != True:
|
if check_values(file1_values, file2_values) != True:
|
||||||
|
print(file1_line)
|
||||||
|
print(file2_line)
|
||||||
print("Value mismatch at " + file1_values[0])
|
print("Value mismatch at " + file1_values[0])
|
||||||
exit(1)
|
exit(1)
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in a new issue