add tests for case and constr
Fix a minor issue with decoding order
This commit is contained in:
@@ -74,6 +74,14 @@ fn fibonacci() {
|
||||
round_trip_test(bytes, code);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn case_constr() {
|
||||
let bytes = include_bytes!("../test_data/case_constr/case_constr.flat");
|
||||
let code = include_str!("../test_data/case_constr/case_constr.uplc");
|
||||
|
||||
round_trip_test(bytes, code);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn one_way_fibonacci() {
|
||||
let bytes = include_bytes!("../test_data/fibonacci/fibonacci.flat");
|
||||
|
||||
Reference in New Issue
Block a user