Brunobkr/llama.cpp_AlgMor24_github
ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.
03.1k
1// @ts-ignore TS61332import { expect, test } from "vitest";3 4import * as z from "zod/v3";5 6const schema = z.nan();7 8test("passing validations", () => {9 const result1 = schema.parse(Number.NaN);10 expect(Number.isNaN(result1)).toBe(true);11 12 const result2 = schema.parse(Number("Not a number"));13 expect(Number.isNaN(result2)).toBe(true);14});15 16test("failing validations", () => {17 expect(() => schema.parse(5)).toThrow();18 expect(() => schema.parse("John")).toThrow();19 expect(() => schema.parse(true)).toThrow();20 expect(() => schema.parse(null)).toThrow();21 expect(() => schema.parse(undefined)).toThrow();22 expect(() => schema.parse({})).toThrow();23 expect(() => schema.parse([])).toThrow();24});25 