scilab: clean primitive_type tests
This commit is contained in:
parent
0102aa6ccb
commit
0b0db23ffc
1 changed files with 2 additions and 6 deletions
|
|
@ -23,16 +23,13 @@ if (val_long(int32(42)) <> 42) then swigtesterror(); end
|
|||
if (val_ulong(uint32(42)) <> uint32(42)) then swigtesterror(); end
|
||||
|
||||
if (val_bool(%t) <> %t) then swigtesterror(); end
|
||||
//if (val_bool(1) <> %t) then swigtesterror(); end
|
||||
|
||||
// longlong is not supported in Scilab 5.x
|
||||
//if (val_llong(42) <> 42) then swigtesterror(); end
|
||||
//if (val_llong(int64(42)) <> 42) then swigtesterror(); end
|
||||
//if (val_ullong(uint64(42)) <> uint64(42)) then swigtesterror(); end
|
||||
|
||||
// Check passing by reference
|
||||
//if (ref_float(42) <> 42) then swigtesterror(); end
|
||||
//if (ref_double(42) <> 42) then swigtesterror(); end
|
||||
|
||||
if (ref_char('a') <> 'a') then swigtesterror(); end
|
||||
if (ref_schar(42) <> 42) then swigtesterror(); end
|
||||
if (ref_schar(int8(42)) <> 42) then swigtesterror(); end
|
||||
|
|
@ -51,11 +48,10 @@ if (ref_long(int32(42)) <> 42) then swigtesterror(); end
|
|||
if (ref_ulong(uint32(42)) <> uint32(42)) then swigtesterror(); end
|
||||
|
||||
if (ref_bool(%t) <> %t) then swigtesterror(); end
|
||||
//if (ref_bool(1) <> %t) then swigtesterror(); end
|
||||
|
||||
// long long is not supported in Scilab 5.x
|
||||
//if (ref_llong(42) <> 42) then swigtesterror(); end
|
||||
//if (ref_llong(int64(42)) <> 42) then swigtesterror(); end
|
||||
//if (ref_ullong(42) <> 42) then swigtesterror(); end
|
||||
//if (ref_ullong(uint64(42)) <> uint64(42)) then swigtesterror(); end
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue