|
LMMP 4.3.0
Lamina High-Precision Arithmetic Library
|
#include "lmmp/lmmpn.h"#include "mparam.h"#include "lmmp/numth.h"#include "cases.h"#include "support/lmmp_test_utils.h"#include <string.h>函数 | |
| TEST_CASE ("numth/combin", nPr_nCr_degenerate_boundaries) | |
| Copyright (C) 2026 HJimmyK (Jericho Knox) | |
| void | test_combin_boundaries (void) |
| Copyright (C) 2026 HJimmyK (Jericho Knox) | |
| TEST_CASE | ( | "numth/combin" | , |
| nPr_nCr_degenerate_boundaries | ) |
Copyright (C) 2026 HJimmyK (Jericho Knox)
This file is part of LMMP.
LMMP is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library. If not, see https://www.gnu.org/licenses/.
SPDX-License-Identifier: LGPL-3.0-or-later
在文件 test_combin_boundaries.c 第 37 行定义.
引用了 ARRAY_SIZE, b1, b2, b3, lmmp_factorial_(), lmmp_factorial_size_(), lmmp_free(), lmmp_mul_(), lmmp_nCr_(), lmmp_nCr_size_(), lmmp_nPr_(), lmmp_nPr_size_(), lmmp_zero, n, prod, TEST_CASE, TEST_CHECK , 以及 TEST_CHECK_EQ.
| void test_combin_boundaries | ( | void | ) |
Copyright (C) 2026 HJimmyK (Jericho Knox)
This file is part of LMMP.
LMMP is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library. If not, see https://www.gnu.org/licenses/.
SPDX-License-Identifier: LGPL-3.0-or-later
在文件 test_combin_boundaries.c 第 125 行定义.
引用了 test_combin_boundaries() , 以及 TEST_RUN.
被这些函数引用 main() , 以及 test_combin_boundaries().