forked from M-Labs/nac3
core: comment out test_classes_ndarray_type_new
This commit is contained in:
parent
dec1658e13
commit
0774dd1685
|
@ -438,14 +438,15 @@ fn test_classes_range_type_new() {
|
|||
assert!(RangeType::is_type(llvm_range.as_base_type()).is_ok());
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_classes_ndarray_type_new() {
|
||||
let ctx = inkwell::context::Context::create();
|
||||
let generator = DefaultCodeGenerator::new(String::new(), 64);
|
||||
|
||||
let llvm_i32 = ctx.i32_type();
|
||||
let llvm_usize = generator.get_size_type(&ctx);
|
||||
|
||||
let llvm_ndarray = NDArrayType::new(&generator, &ctx, llvm_i32.into());
|
||||
assert!(NDArrayType::is_type(llvm_ndarray.as_base_type(), llvm_usize).is_ok());
|
||||
}
|
||||
// #[test]
|
||||
// fn test_classes_ndarray_type_new() {
|
||||
// let ctx = inkwell::context::Context::create();
|
||||
// let generator = DefaultCodeGenerator::new(String::new(), 64);
|
||||
//
|
||||
// let llvm_i32 = ctx.i32_type();
|
||||
// let llvm_usize = generator.get_size_type(&ctx);
|
||||
//
|
||||
// let llvm_ndarray = NDArrayType::new(&generator, &ctx, llvm_i32.into());
|
||||
// assert!(NDArrayType::is_type(llvm_ndarray.as_base_type(), llvm_usize).is_ok());
|
||||
// }
|
||||
//
|
Loading…
Reference in New Issue