From 0774dd1685332ae35aef6681d5712f545f9dbf1e Mon Sep 17 00:00:00 2001 From: lyken Date: Thu, 11 Jul 2024 10:06:02 +0800 Subject: [PATCH] core: comment out test_classes_ndarray_type_new --- nac3core/src/codegen/test.rs | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/nac3core/src/codegen/test.rs b/nac3core/src/codegen/test.rs index be4fa140..5d489481 100644 --- a/nac3core/src/codegen/test.rs +++ b/nac3core/src/codegen/test.rs @@ -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()); +// } +// \ No newline at end of file