Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

258 B
Raw Blame
import { expect, it } from 'vitest';

const accepts = (size: number) => size > 0 && size <= 100;

it.each([
  [0, false],
  [1, true],
  [100, true],
  [101, false],
])('accepts size %i: %s', (size, expected) => {
  expect(accepts(size)).toBe(expected);
});