@@ -0,0 +1,683 @@
+from distutils import ccompiler%0Afrom distutils import sysconfig%0A%0Afrom cupy_builder._context import Context%0Afrom cupy_builder._features import CUDA_cuda%0Afrom cupy_builder import install_build as build%0A%0Aimport cupy%0A%0A%0Adef get_compiler_settings():%0A    sysconfig.get_config_vars()%0A    compiler = ccompiler.new_compiler()%0A    sysconfig.customize_compiler(compiler)%0A    settings = build.get_compiler_setting(False)%0A    return compiler, settings%0A%0A%0Adef test_CUDA_cuda():%0A    ctx = Context('.', _env=%7B%7D, _argv=%5B%5D)%0A    feat = CUDA_cuda(ctx)%0A    compiler, settings = get_compiler_settings()%0A    feat.configure(compiler, settings)%0A    assert feat._version == cupy.cuda.driver.get_build_version()%0A

add tests