|
|
| version 1.4, 2016/12/26 20:39:04 | version 1.6, 2024/05/20 23:02:35 |
|---|---|
| Line 1 | Line 1 |
| @main[] | |
| I. named | |
| $id[id] | |
| $price[price] | |
| $t[^table::create{id price | $t[^table::create{id price |
| 1 6.50 | 1 6.50 |
| 2 70.00 | 2 70.00 more data |
| 3 60.85 | 3 60.85 |
| _default 0 | _default 0 |
| }] | }] |
| Line 9 $n[^table::create{name | Line 15 $n[^table::create{name |
| id | id |
| price}] | price}] |
| ^core[] | |
| II. nameless | |
| $id[0] | |
| $price[1] | |
| $t[^table::create[nameless]{1 6.50 | |
| 2 70.00 more data | |
| 3 60.85 | |
| _default 0 | |
| }] | |
| $n[^table::create{name | |
| 0 | |
| 1}] | |
| ^core[] | |
| @core[] | |
| Code coverage tests: | Code coverage tests: |
| ^try-catch{^t.hash[id][ $.type[wrong] ]} | ^try-catch{^t.hash[$id][ $.type[wrong] ]} |
| ^try-catch{^t.hash[id][ $.type[ $.not_string[] ] ]} | ^try-catch{^t.hash[$id][ $.type[ $.not_string[] ] ]} |
| ^try-catch{^t.hash[id][ $.wrong[option] ]} | ^try-catch{^t.hash[$id][ $.wrong[option] ]} |
| ^try-catch{^t.hash[id][price][ not hash ]} | ^try-catch{^t.hash[$id][$price][ not hash ]} |
| ^try-catch{^t.hash[id][ $.wrong[] ][ $.type[string] ]} | ^try-catch{^t.hash[$id][ $.wrong[] ][ $.type[string] ]} |
| ^try-catch{^t.hash[id][$n][ $.type[string] ]} | ^try-catch{^t.hash[$id][$n][ $.type[string] ]} |
| ^try-catch{^t.hash[id]{code}[ $.type[string] ]} | ^try-catch{^t.hash[$id]{code}[ $.type[string] ]} |
| ^try-catch{^t.hash[ups;price]} | ^try-catch{^t.hash[ups;$price]} |
| ^try-catch{^t.hash[id;ups]} | ^try-catch{^t.hash[$id;ups]} |
| Valid calls tests: | Valid calls tests: |
| ^json:string[^t.hash[id]] | 1. ^json:string[^t.hash[$id]] |
| ^json:string[^t.hash[id][ $.type[table] ]] | 2. ^json:string[^t.hash[$id][ $.type[table] ]] |
| ^json:string[^t.hash[id][price]] | 3. ^json:string[^t.hash[$id][$price]] |
| ^json:string[^t.hash{id}[price][ $.distinct(true) ]] | 4. ^json:string[^t.hash{$id}[$price][ $.distinct(true) ]] |
| ^json:string[^t.hash[id][$n]] | 5. ^json:string[^t.hash[$id][$n]] |
| ^json:string[^t.hash{id}[$n][ $.distinct(true) ]] | 6. ^json:string[^t.hash{$id}[$n][ $.distinct(true) ]] |
| New functionality tests: | New functionality tests: |
| ^json:string[^t.hash{=$t.id=}{$t.id - $t.price}] | n1. ^json:string[^t.hash{=$t.$id=}{$t.$id - $t.$price}] |
| ^json:string[^t.hash[id]{$t.id - $t.price}] | n2. ^json:string[^t.hash[$id]{$t.$id - $t.$price}] |
| ^json:string[^t.hash{id}{code}[ $.distinct(true) ]] | n3. ^json:string[^t.hash{$id}{code}[ $.distinct(true) ]] |
| ^json:string[^t.hash[id]{ $h[$.key[$t.price]] $h }] | n4. ^json:string[^t.hash[$id]{ $h[$.key[$t.$price]] $h }] |
| ^json:string[^t.hash[id;]] | n5. ^json:string[^t.hash[$id;]] |
| ^json:string[^t.hash[id;; $.type[string] ]] | n6. ^json:string[^t.hash[$id;; $.type[string] ]] |