diff --git a/storage/storage_test.v b/storage/storage_test.v index 7f064f95..63a419ca 100644 --- a/storage/storage_test.v +++ b/storage/storage_test.v @@ -1,7 +1,5 @@ module storage -// import vsl.vcl - fn test_cpu_with_default() { s := storage[f64](2, 0, 1.0) array := s.to_array() @@ -9,25 +7,3 @@ fn test_cpu_with_default() { assert array[0] == 1.0 assert array[1] == 1.0 } - -// fn test_vcl_with_default() { -// $if vcl ? { -// // get all devices if you want -// devices := vcl.get_devices(vcl.device_cpu) or { panic(err) } -// println('Devices: $devices') - -// // do not create platforms/devices/contexts/queues/... -// // just get the device -// mut device := vcl.get_default_device() or { panic(err) } -// defer { -// device.release() or { panic(err) } -// } - -// s := storage[f64](2, 0, 1.0).vcl(device: device) or { panic(err) } -// array := s.to_array() or { panic(err) } -// assert array.len == 2 -// assert array[0] == 1.0 -// } $else { -// assert true -// } -// }