Skip to content

Commit

Permalink
Plutarch.Extra.Ord tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SeungheonOh committed Sep 20, 2022
1 parent c8d6a1f commit 20dfafd
Show file tree
Hide file tree
Showing 5 changed files with 200 additions and 0 deletions.
17 changes: 17 additions & 0 deletions plutarch-test/goldens/extra.ordutils.bench.golden
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
psort.psort_[5..1] {"exBudgetCPU":27888263,"exBudgetMemory":107622,"scriptSizeBytes":1126}
psort.psort_[1..5] {"exBudgetCPU":27888263,"exBudgetMemory":107622,"scriptSizeBytes":1126}
psort.psort_[3,2,5,4,1] {"exBudgetCPU":27888263,"exBudgetMemory":107622,"scriptSizeBytes":1126}
psort.psort_[] {"exBudgetCPU":2829100,"exBudgetMemory":12400,"scriptSizeBytes":1079}
psortBy.psortBy_preverseComparator_[1..5] {"exBudgetCPU":28992263,"exBudgetMemory":112422,"scriptSizeBytes":1141}
pnubSort.pnubSort_[3,2,5,4,1,2,4,2,5,3] {"exBudgetCPU":104812820,"exBudgetMemory":355660,"scriptSizeBytes":1293}
pnubSort.pnubSort_[] {"exBudgetCPU":3105100,"exBudgetMemory":13600,"scriptSizeBytes":1222}
pnubSortBy.pnubSortBy_preverseComparator_[3,2,5,4,1,2,4,2,5,3] {"exBudgetCPU":92923817,"exBudgetMemory":327722,"scriptSizeBytes":1308}
pallUnique.pallUnique_[1,2,3,4] {"exBudgetCPU":11128005,"exBudgetMemory":36520,"scriptSizeBytes":213}
pallUnique.pallUnique_[1,1,2,3] {"exBudgetCPU":6126168,"exBudgetMemory":21010,"scriptSizeBytes":213}
pallUnique.pallUnique_[1,3,2,3] {"exBudgetCPU":9356893,"exBudgetMemory":29518,"scriptSizeBytes":209}
pallUnique.pallUnique_[] {"exBudgetCPU":1702212,"exBudgetMemory":6802,"scriptSizeBytes":185}
ptryMerge.ptryMerge_[1,3,5,7]_[2,4,6,8] {"exBudgetCPU":36266957,"exBudgetMemory":131243,"scriptSizeBytes":473}
ptryMerge.ptryMerge_[1,3,5,7]_[8,6,4,2] {"exBudgetCPU":11780622,"exBudgetMemory":40149,"scriptSizeBytes":394}
ptryMerge.ptryMerge_[7,5,3,1]_[2,4,6,8] {"exBudgetCPU":11700066,"exBudgetMemory":40148,"scriptSizeBytes":394}
ptryMerge.ptryMerge_[1..8]_[] {"exBudgetCPU":28916239,"exBudgetMemory":106731,"scriptSizeBytes":473}
ptryMerge.ptryMerge_[]_[] {"exBudgetCPU":2254100,"exBudgetMemory":9900,"scriptSizeBytes":397}
17 changes: 17 additions & 0 deletions plutarch-test/goldens/extra.ordutils.uplc.eval.golden
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
psort.psort_[5..1] (program 1.0.0 True)
psort.psort_[1..5] (program 1.0.0 True)
psort.psort_[3,2,5,4,1] (program 1.0.0 True)
psort.psort_[] (program 1.0.0 True)
psortBy.psortBy_preverseComparator_[1..5] (program 1.0.0 True)
pnubSort.pnubSort_[3,2,5,4,1,2,4,2,5,3] (program 1.0.0 True)
pnubSort.pnubSort_[] (program 1.0.0 True)
pnubSortBy.pnubSortBy_preverseComparator_[3,2,5,4,1,2,4,2,5,3] (program 1.0.0 True)
pallUnique.pallUnique_[1,2,3,4] (program 1.0.0 True)
pallUnique.pallUnique_[1,1,2,3] (program 1.0.0 True)
pallUnique.pallUnique_[1,3,2,3] (program 1.0.0 True)
pallUnique.pallUnique_[] (program 1.0.0 True)
ptryMerge.ptryMerge_[1,3,5,7]_[2,4,6,8] (program 1.0.0 True)
ptryMerge.ptryMerge_[1,3,5,7]_[8,6,4,2] (program 1.0.0 error)
ptryMerge.ptryMerge_[7,5,3,1]_[2,4,6,8] (program 1.0.0 error)
ptryMerge.ptryMerge_[1..8]_[] (program 1.0.0 True)
ptryMerge.ptryMerge_[]_[] (program 1.0.0 True)
Loading

0 comments on commit 20dfafd

Please sign in to comment.