mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
First 0.7 update, removing all deprecated features.
This commit is contained in:
committed by
Christoffer Lerno
parent
cff6697818
commit
2a895ec7be
@@ -78,12 +78,11 @@ fn void insertionsort_with_lambda()
|
||||
}
|
||||
}
|
||||
|
||||
def InsertionSortTestList = List(<int>);
|
||||
def InsertionSortTestList = List{int};
|
||||
|
||||
fn void insertionsort_list()
|
||||
{
|
||||
InsertionSortTestList list;
|
||||
list.tinit();
|
||||
list.add_array({ 2, 1, 3});
|
||||
sort::insertionsort(list, &sort::cmp_int_value);
|
||||
assert(check::int_ascending_sort(list.array_view()));
|
||||
|
||||
Reference in New Issue
Block a user