kopia lustrzana https://github.com/thinkst/zippy
Fix ai-generated.txt path for Nim tests
rodzic
d8a36f952a
commit
4be0a7e9bf
|
@ -7,7 +7,7 @@ proc awaitScore(s : string) : (string, float64) =
|
||||||
|
|
||||||
suite "Verify the prelude file (i.e., training data) is correctly classified as an AI-generated file":
|
suite "Verify the prelude file (i.e., training data) is correctly classified as an AI-generated file":
|
||||||
setup:
|
setup:
|
||||||
let (d, _) = awaitScore(readFile "../ai-generated.txt")
|
let (d, _) = awaitScore(readFile "../zippy/ai-generated.txt")
|
||||||
|
|
||||||
test "Detect prelude":
|
test "Detect prelude":
|
||||||
check(d == "AI")
|
check(d == "AI")
|
||||||
|
|
Ładowanie…
Reference in New Issue