An open API service providing repository metadata for many open source software ecosystems.

GitHub topics: assert

Safa-101/CCheckValuesLibrary

C CheckValues library. Checking the validity(asserting) of parameters within the specified ranges. C89, C99 and >C99 compatible, CPP98 and >CPP98 compatible, Embedded C compatible.

Language: C++ - Size: 7.81 KB - Last synced at: about 13 hours ago - Pushed at: about 14 hours ago - Stars: 0 - Forks: 0

Mister-Hope/assert-type

A type assert library

Language: TypeScript - Size: 1.64 MB - Last synced at: 1 day ago - Pushed at: 1 day ago - Stars: 4 - Forks: 0

yyle88/must

The must library simplifies assertions and panics on failure. Assert conditions directly, avoiding long checks

Language: Go - Size: 82 KB - Last synced at: 1 day ago - Pushed at: 1 day ago - Stars: 126 - Forks: 2

Vp9861908406/array-base-assert-any-is-entry

Test whether at least one element in a provided array has a specified own property key-value pair.

Language: JavaScript - Size: 48.8 KB - Last synced at: 3 days ago - Pushed at: 3 days ago - Stars: 0 - Forks: 0

ShalkyFidelis/array-base-assert-any-has-property

Test whether at least one element in a provided array has a specified property, either own or inherited.

Language: JavaScript - Size: 48.8 KB - Last synced at: 3 days ago - Pushed at: 3 days ago - Stars: 0 - Forks: 0

gotestyourself/gotest.tools

A collection of packages to augment the go testing package and support common patterns.

Language: Go - Size: 635 KB - Last synced at: 4 days ago - Pushed at: 3 months ago - Stars: 557 - Forks: 50

stdlib-js/array-base-assert

Base array assertion utilities.

Language: JavaScript - Size: 3.11 MB - Last synced at: 5 days ago - Pushed at: 5 days ago - Stars: 1 - Forks: 0

stdlib-js/array-base-assert-any-has-property

Test whether at least one element in a provided array has a specified property, either own or inherited.

Language: JavaScript - Size: 564 KB - Last synced at: 4 days ago - Pushed at: 5 days ago - Stars: 0 - Forks: 0

stdlib-js/assert-has-property

Test if an object has a specified property, either own or inherited.

Language: JavaScript - Size: 370 KB - Last synced at: 5 days ago - Pushed at: 5 days ago - Stars: 1 - Forks: 0

lvce-editor/assert

Runtime type assertions for catching errors early

Language: JavaScript - Size: 311 KB - Last synced at: 5 days ago - Pushed at: 5 days ago - Stars: 0 - Forks: 0

samber/oops

πŸ”₯ Error handling library with context, assertion, stack trace and source fragments

Language: Go - Size: 2.13 MB - Last synced at: 4 days ago - Pushed at: 6 days ago - Stars: 645 - Forks: 22

decs/typeschema

πŸ›΅ Universal adapter for TypeScript schema validation.

Language: TypeScript - Size: 1.67 MB - Last synced at: 5 days ago - Pushed at: 7 months ago - Stars: 443 - Forks: 14

phpstan/phpstan-beberlei-assert

PHPStan extension for beberlei/assert

Language: PHP - Size: 154 KB - Last synced at: 1 day ago - Pushed at: 6 days ago - Stars: 42 - Forks: 12

robstoll/atrium

A multiplatform expectation library for Kotlin

Language: Kotlin - Size: 69 MB - Last synced at: about 21 hours ago - Pushed at: 6 days ago - Stars: 595 - Forks: 218

CUCUKAKA/array-base-assert-is-sorted-ascending

Test if an array is sorted in ascending order.

Size: 1000 Bytes - Last synced at: 6 days ago - Pushed at: 6 days ago - Stars: 0 - Forks: 0

anhmaydeptraivailon/math-base-assert-is-probabilityf

Test if a single-precision floating-point number is a probability.

Size: 1000 Bytes - Last synced at: 6 days ago - Pushed at: 6 days ago - Stars: 0 - Forks: 0

alecthomas/assert

A simple assertion library using Go generics

Language: Go - Size: 129 KB - Last synced at: 1 day ago - Pushed at: 1 day ago - Stars: 160 - Forks: 10

alexreardon/tiny-invariant

A tiny invariant function

Language: TypeScript - Size: 1.16 MB - Last synced at: 6 days ago - Pushed at: 10 months ago - Stars: 1,823 - Forks: 46

mattiaspersson09/junisert

Java unit assertion framework

Language: Java - Size: 295 KB - Last synced at: 7 days ago - Pushed at: 7 days ago - Stars: 1 - Forks: 0

avajs/ava

Node.js test runner that lets you develop with confidence πŸš€

Language: JavaScript - Size: 13.3 MB - Last synced at: 6 days ago - Pushed at: 9 days ago - Stars: 20,773 - Forks: 1,405

ver0-project/deep-equal

πŸ”Ž Deep values comparator for JS

Language: TypeScript - Size: 633 KB - Last synced at: 7 days ago - Pushed at: 7 days ago - Stars: 0 - Forks: 0

stdlib-js/assert-is-skew-symmetric-matrix

Test if a value is a skew-symmetric matrix.

Language: JavaScript - Size: 1.48 MB - Last synced at: 7 days ago - Pushed at: 7 days ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-typed-array-like

Test if a value is typed-array-like.

Language: JavaScript - Size: 647 KB - Last synced at: 7 days ago - Pushed at: 7 days ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-node-repl

Check if running in a Node.js REPL environment.

Language: JavaScript - Size: 401 KB - Last synced at: 7 days ago - Pushed at: 7 days ago - Stars: 1 - Forks: 0

gpakosz/PPK_ASSERT

PPK_ASSERT is an orthodox drop-in & self-contained C++ assertion library ⚠️

Language: C++ - Size: 342 KB - Last synced at: 8 days ago - Pushed at: over 3 years ago - Stars: 208 - Forks: 16

pubkey/async-test-util

Utility functions that are useful in async/await tests :thumbsup:

Language: JavaScript - Size: 213 KB - Last synced at: 6 days ago - Pushed at: 9 days ago - Stars: 27 - Forks: 2

stdlib-js/assert

Standard assertion utilities.

Language: JavaScript - Size: 38.7 MB - Last synced at: 9 days ago - Pushed at: 9 days ago - Stars: 4 - Forks: 0

stdlib-js/assert-napi-status-ok

C utilities for asserting that a Node-API call returns an "ok" status.

Language: C - Size: 179 KB - Last synced at: 9 days ago - Pushed at: 9 days ago - Stars: 1 - Forks: 0

elaichenkov/cy-verify-downloads

Cypress custom command to wait and verify that file has been downloaded

Language: JavaScript - Size: 109 MB - Last synced at: 9 days ago - Pushed at: 9 days ago - Stars: 71 - Forks: 17

nvzqz/static-assertions

Ensure correct assumptions about constants, types, and more in Rust

Language: Rust - Size: 547 KB - Last synced at: 3 days ago - Pushed at: over 1 year ago - Stars: 616 - Forks: 23

smikhalevski/doubter

πŸ€”β€‚Runtime validation and transformation library.

Language: TypeScript - Size: 7.46 MB - Last synced at: 10 days ago - Pushed at: 10 days ago - Stars: 68 - Forks: 1

tapjs/tapjs

Test Anything Protocol tools for node

Language: JavaScript - Size: 70.5 MB - Last synced at: 5 days ago - Pushed at: 3 months ago - Stars: 2,384 - Forks: 275

wellwelwel/poku

🐷 Poku makes testing easy for Node.js, Bun, Deno, and you at the same time.

Language: TypeScript - Size: 12.6 MB - Last synced at: 12 days ago - Pushed at: 12 days ago - Stars: 977 - Forks: 18

inspect-js/node-deep-equal

node's assert.deepEqual algorithm

Language: JavaScript - Size: 321 KB - Last synced at: 9 days ago - Pushed at: over 1 year ago - Stars: 791 - Forks: 108

stdlib-js/ndarray-base-assert-is-input-casting-policy

Test if an input value is a supported input ndarray casting policy.

Language: JavaScript - Size: 0 Bytes - Last synced at: 15 days ago - Pushed at: 15 days ago - Stars: 0 - Forks: 0

hashicorp/terraform-provider-assert

Offers functions to validate and assert values within Terraform configurations, simplifying variable validation and custom conditions.

Language: Go - Size: 10 MB - Last synced at: 7 days ago - Pushed at: 16 days ago - Stars: 43 - Forks: 8

stdlib-js/ndarray-base-assert

Base ndarray assertion utilities.

Language: JavaScript - Size: 3.38 MB - Last synced at: 16 days ago - Pushed at: 16 days ago - Stars: 2 - Forks: 0

e2e-boilerplate/cypress-typescript-webpack-chai-assert

Cypress end-to-end test automation boilerplate, Using TypeScript, Webpack, Chai and Assert.

Language: JavaScript - Size: 1.34 MB - Last synced at: 6 days ago - Pushed at: 6 days ago - Stars: 0 - Forks: 0

Ahoo-Wang/FluentAssert

Kotlin Fluent Assert

Language: Kotlin - Size: 96.7 KB - Last synced at: 16 days ago - Pushed at: 16 days ago - Stars: 2 - Forks: 0

becheran/ntest

Testing framework for rust enhancing the built-in library with some useful features.

Language: Rust - Size: 142 KB - Last synced at: 17 days ago - Pushed at: 18 days ago - Stars: 63 - Forks: 10

in-async/PrimitiveAssert

A simple library that decomposes targets into primitive data types and asserts them.

Language: C# - Size: 167 KB - Last synced at: about 15 hours ago - Pushed at: almost 4 years ago - Stars: 2 - Forks: 0

artichoke/qed

∎ Compile-time assertion macros

Language: Rust - Size: 1.77 MB - Last synced at: 13 days ago - Pushed at: 13 days ago - Stars: 6 - Forks: 0

stdlib-js/math-base-assert-is-probabilityf

Test if a single-precision floating-point number is a probability.

Language: Python - Size: 229 KB - Last synced at: 20 days ago - Pushed at: 20 days ago - Stars: 0 - Forks: 0

stdlib-js/math-base-assert-is-probability

Test if a numeric value is a probability.

Language: Python - Size: 458 KB - Last synced at: 20 days ago - Pushed at: 20 days ago - Stars: 4 - Forks: 0

stdlib-js/math-base-assert-uint32-is-pow2

Test whether an unsigned integer is a power of 2.

Language: Python - Size: 338 KB - Last synced at: 20 days ago - Pushed at: 20 days ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-writable-property

Test if an object's own property is writable.

Language: JavaScript - Size: 433 KB - Last synced at: 21 days ago - Pushed at: 21 days ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-matrix-like

Test if a value is a 2-dimensional ndarray-like object.

Language: JavaScript - Size: 1.34 MB - Last synced at: 21 days ago - Pushed at: 21 days ago - Stars: 2 - Forks: 0

negrel/assert

0️⃣ Zero cost debug assertions for Go.

Language: Go - Size: 143 KB - Last synced at: 16 days ago - Pushed at: 5 months ago - Stars: 59 - Forks: 3

rphlmr/comply

Comply is a tiny library to help you define policies in your app

Language: TypeScript - Size: 655 KB - Last synced at: about 11 hours ago - Pushed at: 7 months ago - Stars: 13 - Forks: 0

balazs4/alola

curl -i | alola

Language: JavaScript - Size: 207 KB - Last synced at: 23 days ago - Pushed at: 23 days ago - Stars: 1 - Forks: 0

yyle88/rese

**rese** simplifies Go error handling and result extraction. It combines error and result checks into a single operation.

Language: Go - Size: 40 KB - Last synced at: 24 days ago - Pushed at: 24 days ago - Stars: 75 - Forks: 1

Idea-Pool/aws-cdk-assert

This tool gives handy utilities to test AWS CDK Stack.

Language: TypeScript - Size: 1.42 MB - Last synced at: 26 days ago - Pushed at: 26 days ago - Stars: 0 - Forks: 0

power-assert-js/power-assert

Power Assert in JavaScript. Provides descriptive assertion messages through standard assert interface. No API is the best API.

Language: JavaScript - Size: 3.03 MB - Last synced at: 7 days ago - Pushed at: over 2 years ago - Stars: 2,806 - Forks: 68

stdlib-js/math-base-assert-is-nonnegative-integer

Test if a finite double-precision floating-point number is a nonnegative integer.

Language: Python - Size: 365 KB - Last synced at: 2 days ago - Pushed at: 26 days ago - Stars: 1 - Forks: 0

stdlib-js/math-base-assert-is-positive-zero

Test if a double-precision floating-point numeric value is positive zero.

Language: Python - Size: 453 KB - Last synced at: 17 days ago - Pushed at: 26 days ago - Stars: 2 - Forks: 0

stdlib-js/math-base-assert-is-positive-finite

Test if a numeric value is a positive finite number.

Language: Python - Size: 448 KB - Last synced at: 6 days ago - Pushed at: 26 days ago - Stars: 2 - Forks: 0

stdlib-js/math-base-assert-is-safe-integer

Test if a finite double-precision floating-point number is a safe integer.

Language: Python - Size: 449 KB - Last synced at: 6 days ago - Pushed at: 26 days ago - Stars: 1 - Forks: 0

samarth-5/Hack-Arena

Hackers Arena is a coding platform where developers can solve data structures and algorithms problems, participate in coding contests, and enhance their problem-solving skills. It offers a range of challenges to improve coding abilities and prepare for technical interviews.

Language: TypeScript - Size: 8.11 MB - Last synced at: 26 days ago - Pushed at: 26 days ago - Stars: 2 - Forks: 0

phpstan/phpstan-webmozart-assert

PHPStan extension for webmozart/assert

Language: PHP - Size: 237 KB - Last synced at: about 10 hours ago - Pushed at: 26 days ago - Stars: 169 - Forks: 27

stdlib-js/math-base-assert-is-composite

Test if a number is composite.

Language: Python - Size: 525 KB - Last synced at: 13 days ago - Pushed at: 27 days ago - Stars: 1 - Forks: 0

stdlib-js/math-base-assert-is-finitef

Test if a single-precision floating-point numeric value is finite.

Language: Python - Size: 582 KB - Last synced at: 18 days ago - Pushed at: 27 days ago - Stars: 1 - Forks: 0

stdlib-js/math-base-assert-is-nan

Test if a double-precision floating-point numeric value is NaN.

Language: Python - Size: 442 KB - Last synced at: 15 days ago - Pushed at: 27 days ago - Stars: 1 - Forks: 0

metarhia/metatests

Extremely simple to use test framework and runner for Metarhia technology stack πŸ§ͺ

Language: JavaScript - Size: 1.11 MB - Last synced at: 2 days ago - Pushed at: 5 months ago - Stars: 19 - Forks: 4

stdlib-js/array-base-assert-is-floating-point-data-type

Test if an input value is a supported array floating-point data type.

Language: JavaScript - Size: 526 KB - Last synced at: 6 days ago - Pushed at: 28 days ago - Stars: 1 - Forks: 0

stdlib-js/assert-is-biguint64array

Test if a value is a BigUint64Array.

Language: JavaScript - Size: 457 KB - Last synced at: 21 days ago - Pushed at: 28 days ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-nonnegative-integer

Test if a value is a number having a nonnegative integer value.

Language: JavaScript - Size: 639 KB - Last synced at: 11 days ago - Pushed at: 28 days ago - Stars: 1 - Forks: 0

stdlib-js/assert-is-camelcase

Test if a value is a camelcase string.

Language: JavaScript - Size: 585 KB - Last synced at: 17 days ago - Pushed at: 28 days ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-arraybuffer

Test if a value is an ArrayBuffer.

Language: JavaScript - Size: 388 KB - Last synced at: 6 days ago - Pushed at: 28 days ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-enumerable-property

Test if an object's own property is enumerable.

Language: JavaScript - Size: 696 KB - Last synced at: 12 days ago - Pushed at: 28 days ago - Stars: 1 - Forks: 0

stdlib-js/assert-is-well-formed-string

Test if a string is a well-formed string.

Language: JavaScript - Size: 206 KB - Last synced at: 7 days ago - Pushed at: 28 days ago - Stars: 1 - Forks: 0

stdlib-js/assert-is-array

Test if a value is an array.

Language: JavaScript - Size: 460 KB - Last synced at: about 23 hours ago - Pushed at: 28 days ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-empty-collection

Test if a value is an empty collection.

Language: JavaScript - Size: 345 KB - Last synced at: 17 days ago - Pushed at: 28 days ago - Stars: 1 - Forks: 0

stdlib-js/assert-is-skew-centrosymmetric-matrix

Test if a value is a skew-centrosymmetric matrix.

Language: JavaScript - Size: 1.35 MB - Last synced at: 17 days ago - Pushed at: 28 days ago - Stars: 1 - Forks: 0

stdlib-js/assert-is-dataview

Test if a value is a DataView.

Language: JavaScript - Size: 495 KB - Last synced at: 3 days ago - Pushed at: 28 days ago - Stars: 2 - Forks: 0

stdlib-js/complex-float64-base-assert-is-same-value-zero

Test whether two double-precision complex floating-point numbers are the same value.

Language: C - Size: 129 KB - Last synced at: 15 days ago - Pushed at: 28 days ago - Stars: 1 - Forks: 0

stdlib-js/assert-is-float64ndarray-like

Test if a value is an ndarray-like object containing double-precision floating-point numbers.

Language: JavaScript - Size: 1.45 MB - Last synced at: 4 days ago - Pushed at: 28 days ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-property-key

Test whether a value is a property key.

Language: JavaScript - Size: 563 KB - Last synced at: 5 days ago - Pushed at: 28 days ago - Stars: 1 - Forks: 0

stdlib-js/assert-is-kebabcase

Test if a value is a string in kebab case

Language: JavaScript - Size: 643 KB - Last synced at: 15 days ago - Pushed at: 28 days ago - Stars: 2 - Forks: 0

stdlib-js/complex-float64-base-assert-is-not-equal

Test whether two double-precision complex floating-point numbers are not equal.

Language: C - Size: 140 KB - Last synced at: about 21 hours ago - Pushed at: 28 days ago - Stars: 1 - Forks: 0

stdlib-js/ndarray-base-assert-is-single-segment-compatible

Determine if an array is compatible with a single memory segment.

Language: C - Size: 480 KB - Last synced at: 7 days ago - Pushed at: 28 days ago - Stars: 1 - Forks: 0

stdlib-js/math-base-assert-int32-is-odd

Test if a 32-bit integer is odd.

Language: Python - Size: 428 KB - Last synced at: 16 days ago - Pushed at: 28 days ago - Stars: 2 - Forks: 0

xemantic/xemantic-kotlin-test

The power-assert compatible assertions DSL and some other testing goodies - a Kotlin multiplatform testing library.

Language: Kotlin - Size: 211 KB - Last synced at: 14 days ago - Pushed at: 15 days ago - Stars: 7 - Forks: 0

dentelis/php-json-structure-validator

Lightweight library to validate/assert json documents structure

Language: PHP - Size: 174 KB - Last synced at: 12 days ago - Pushed at: 12 months ago - Stars: 18 - Forks: 0

yyle88/done

Done allows you to focus on your business logic without repetitive if err != nil patterns.

Language: Go - Size: 53.7 KB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 109 - Forks: 0

q191201771/naza

πŸ€ Golang basic library. || Goθ―­θ¨€εŸΊη‘€εΊ“

Language: Go - Size: 457 KB - Last synced at: 28 days ago - Pushed at: about 1 month ago - Stars: 535 - Forks: 111

amantinband/throw

A simple, fluent, extensible, and fully customizable library for throwing exceptions for projects using .NET 6+

Language: C# - Size: 25.9 MB - Last synced at: 30 days ago - Pushed at: 9 months ago - Stars: 1,265 - Forks: 83

oknozor/speculoos

Fluent test assertions for Rust.

Language: Rust - Size: 150 KB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 50 - Forks: 11

stdlib-js/ndarray-base-assert-is-column-major

Given a stride array, determine whether an array is column-major.

Language: C - Size: 374 KB - Last synced at: 4 days ago - Pushed at: about 1 month ago - Stars: 1 - Forks: 0

Serrin/assert.js

A very simple assert function and microlibrary.

Language: CSS - Size: 60.5 KB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 0 - Forks: 0

mesaugat/chai-exclude

Exclude keys to compare from a deep equal operation with chai expect or assert.

Language: JavaScript - Size: 766 KB - Last synced at: 28 days ago - Pushed at: about 1 month ago - Stars: 32 - Forks: 12

de-vri-es/assert2-rs

assert!() and check!() macros for Rust, inspired by Catch2, now with diffs!

Language: Rust - Size: 333 KB - Last synced at: 1 day ago - Pushed at: 4 months ago - Stars: 102 - Forks: 8

l2beat/earl

β˜• Ergonomic, modern and type-safe assertion library for TypeScript

Language: TypeScript - Size: 2.22 MB - Last synced at: about 6 hours ago - Pushed at: 6 months ago - Stars: 260 - Forks: 21

wemake-services/safe-assert

Safe and composable assert for Python that can be used together with optimised mode

Language: Python - Size: 547 KB - Last synced at: 3 days ago - Pushed at: about 1 month ago - Stars: 17 - Forks: 1

stdlib-js/array-base-assert-is-numeric-data-type

Test if an input value is a supported array numeric data type.

Language: JavaScript - Size: 506 KB - Last synced at: 4 days ago - Pushed at: about 1 month ago - Stars: 1 - Forks: 0

stdlib-js/assert-is-square-matrix

Test if a value is a 2-dimensional ndarray-like object having equal dimensions.

Language: JavaScript - Size: 1.48 MB - Last synced at: 29 days ago - Pushed at: about 1 month ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-class

Test if a value is a class.

Language: JavaScript - Size: 850 KB - Last synced at: 29 days ago - Pushed at: about 1 month ago - Stars: 2 - Forks: 0

stdlib-js/assert-is-inherited-property

Test if an object has an inherited property.

Language: JavaScript - Size: 394 KB - Last synced at: 29 days ago - Pushed at: about 1 month ago - Stars: 1 - Forks: 0

stdlib-js/assert-is-snakecase

Test if a value is a string in snake case.

Language: JavaScript - Size: 534 KB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 1 - Forks: 0

stdlib-js/assert-is-complex64ndarray-like

Test if a value is an ndarray-like object containing single-precision complex floating-point numbers.

Language: JavaScript - Size: 664 KB - Last synced at: 18 days ago - Pushed at: about 1 month ago - Stars: 1 - Forks: 0

stdlib-js/assert-is-vector-like

Test if a value is a 1-dimensional ndarray-like object.

Language: JavaScript - Size: 1.46 MB - Last synced at: 29 days ago - Pushed at: about 1 month ago - Stars: 2 - Forks: 0