mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-28 17:30:08 +02:00
Merge pull request #469 from revarbat/revarbat_dev
Workflow apt update fix.
This commit is contained in:
@@ -468,11 +468,11 @@ module test_triplet() {
|
||||
test_triplet();
|
||||
|
||||
|
||||
module test_permute() {
|
||||
assert(permute([3,4,5,6]) == [[3,4],[3,5],[3,6],[4,5],[4,6],[5,6]]);
|
||||
assert(permute([3,4,5,6],n=3) == [[3,4,5],[3,4,6],[3,5,6],[4,5,6]]);
|
||||
module test_combinations() {
|
||||
assert(combinations([3,4,5,6]) == [[3,4],[3,5],[3,6],[4,5],[4,6],[5,6]]);
|
||||
assert(combinations([3,4,5,6],n=3) == [[3,4,5],[3,4,6],[3,5,6],[4,5,6]]);
|
||||
}
|
||||
test_permute();
|
||||
test_combinations();
|
||||
|
||||
|
||||
module test_repeat_entries() {
|
||||
|
Reference in New Issue
Block a user