int main() { matrix_construction(); matrix_access(); test_cblas_dgemm(); test_basic_alloc(); test_asum(); test_axpy(); test_copy(); test_dot(); test_sdot(); test_dotc(); test_dotu(); test_nrm2(); test_rot(); test_rotg(); test_scal(); test_swap(); test_iamax(); test_iamin(); test_dcabs1(); test_gemv(); test_gemm(); test_vmul(); test_vml(); test_std_vector_vml(); test_gemm_boost(); return 0; }
TEST(fdopendir, empty) { DIR *dirp = fdopendir(fd_tmp); ASSERT_NE(NULL, dirp); // We should see exactly two directory entries. The order may differ. struct dirent *de = readdir(dirp); if (strcmp(".", de->d_name) == 0) { test_dot(fd_tmp, de); de = readdir(dirp); test_dotdot(de); } else { test_dotdot(de); de = readdir(dirp); test_dot(fd_tmp, de); } ASSERT_EQ(NULL, readdir(dirp)); ASSERT_EQ(fd_tmp, fdclosedir(dirp)); }
int main() { int Error = 0; Error += test_length(); Error += test_normalize(); Error += test_dot(); Error += test_cross(); return Error; }
int main(int argc, char **argv) { myname = "filetest"; test_bare_file(); test_absolute_file(); test_relative_file(); test_dot(); test_filename(); test_fileperms(); return 0; }