forked from kherud/java-llama.cpp
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMiroStatTest.java
More file actions
29 lines (23 loc) · 877 Bytes
/
Copy pathMiroStatTest.java
File metadata and controls
29 lines (23 loc) · 877 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// SPDX-FileCopyrightText: 2026 Bernard Ladenthin <bernard.ladenthin@gmail.com>
// SPDX-FileCopyrightText: 2023-2025 Konstantin Herud
//
// SPDX-License-Identifier: MIT
package net.ladenthin.llama.args;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import java.util.Arrays;
import java.util.Collection;
@RunWith(Parameterized.class)
public class MiroStatTest extends AbstractCliArgEnumTest<MiroStat> {
@Parameterized.Parameters(name = "{0} -> {1}")
public static Collection<Object[]> data() {
return Arrays.asList(new Object[][]{
{MiroStat.DISABLED, "0", 3},
{MiroStat.V1, "1", 3},
{MiroStat.V2, "2", 3},
});
}
public MiroStatTest(MiroStat value, String expectedArgValue, int expectedEnumCount) {
super(value, expectedArgValue, expectedEnumCount);
}
}