You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What?
Currently Wyrd test samples has already tested the whole compilation process, however, it hasn't implement any tests which checks the correctness of the execution result from the compilation.
Why?
It is better to implement tests throughout the whole compilation to execution result.
How?
For instance, to test this code:
Num foo = 123
We need to verify if the variable foo is indeed result number 123.
Other approaches might be checking the last line output result:
1 + 2
3 + 4
Should verify the result as 7 since the compiled last line's evaluation result is 7
The text was updated successfully, but these errors were encountered:
What?
Currently Wyrd test samples has already tested the whole compilation process, however, it hasn't implement any tests which checks the correctness of the execution result from the compilation.
Why?
It is better to implement tests throughout the whole compilation to execution result.
How?
For instance, to test this code:
We need to verify if the variable
foo
is indeed result number123
.Other approaches might be checking the last line output result:
Should verify the result as
7
since the compiled last line's evaluation result is7
The text was updated successfully, but these errors were encountered: