-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecation of langspec testcases (#225)
- Loading branch information
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
@unit.program_sanity_check | ||
Feature: HeursticSanityCheck | ||
Scenario Outline: Read a slice of bytes and heuristically decide if it look like program bytes | ||
Given a base64 encoded program bytes for heuristic sanity check "<bytes>" | ||
When I start heuristic sanity check over the bytes | ||
Then if the heuristic sanity check throws an error, the error contains "<error>" | ||
|
||
Examples: | ||
| bytes | error | | ||
| | empty program | | ||
| RE43TUJNQ0w1SlEzUEZVUVM3VE1YNUFINEVFS09CSlZEVUY0VENWNldFUkFUS0ZMUUY0TVFVUFpUQQ== | get Algorand address | | ||
| U0dPMUdLU3p5RTdJRVBJdFR4Q0J5dzl4OEZtbnJDRGV4aTkvY09VSk9pST0= | should not be b64 encoded | | ||
| Q2FzdCBhIGNvbGQgZXllCm9uIGxpZmUsIG9uIGRlYXRoLgpIb3JzZW1hbiwgcGFzcyBieQ== | all ASCII printable characters | | ||
| ASABASI= | | |