// Generated by ReScript, PLEASE EDIT WITH CARE

import * as Test from "./Test.mjs";
import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.mjs";
import * as Stdlib_BigInt from "@rescript/runtime/lib/es6/Stdlib_BigInt.mjs";
import * as Stdlib_Option from "@rescript/runtime/lib/es6/Stdlib_Option.mjs";
import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.mjs";

let eq = Primitive_object.equal;

let bign = Stdlib_Option.getOr(Stdlib_BigInt.fromFloat(Number.MAX_VALUE), 0n);

let bign$1 = bign + bign;

Test.run([
  [
    "Stdlib_TestTests.res",
    6,
    20,
    32
  ],
  "print null"
], Test.print(null), eq, "null");

Test.run([
  [
    "Stdlib_TestTests.res",
    7,
    20,
    37
  ],
  "print undefined"
], Test.print(undefined), eq, "undefined");

Test.run([
  [
    "Stdlib_TestTests.res",
    8,
    20,
    31
  ],
  "print NaN"
], Test.print(Number.NaN), eq, "NaN");

Test.run([
  [
    "Stdlib_TestTests.res",
    9,
    20,
    36
  ],
  "print infinity"
], Test.print(Pervasives.infinity), eq, "Infinity");

Test.run([
  [
    "Stdlib_TestTests.res",
    10,
    20,
    29
  ],
  "print 0"
], Test.print(0), eq, "0");

Test.run([
  [
    "Stdlib_TestTests.res",
    11,
    20,
    31
  ],
  "print int"
], Test.print(42), eq, "42");

Test.run([
  [
    "Stdlib_TestTests.res",
    12,
    20,
    33
  ],
  "print float"
], Test.print(4.2), eq, "4.2");

Test.run([
  [
    "Stdlib_TestTests.res",
    13,
    20,
    34
  ],
  "print string"
], Test.print("foo"), eq, `"foo"`);

Test.run([
  [
    "Stdlib_TestTests.res",
    14,
    20,
    32
  ],
  "print bool"
], Test.print(true), eq, "true");

Test.run([
  [
    "Stdlib_TestTests.res",
    15,
    20,
    34
  ],
  "print object"
], Test.print({
  x: 42
}), eq, `{ x: 42 }`);

Test.run([
  [
    "Stdlib_TestTests.res",
    16,
    20,
    33
  ],
  "print array"
], Test.print([
  1,
  2,
  3
]), eq, "[ 1, 2, 3 ]");

Test.run([
  [
    "Stdlib_TestTests.res",
    17,
    20,
    34
  ],
  "print symbol"
], Test.print(Symbol("foo")), eq, "Symbol(foo)");

Test.run([
  [
    "Stdlib_TestTests.res",
    18,
    20,
    36
  ],
  "print function"
], Test.print(() => 42), eq, "() => 42");

Test.run([
  [
    "Stdlib_TestTests.res",
    19,
    20,
    40
  ],
  "print es6 function"
], Test.print((() => 42)), eq, "() => 42");

Test.run([
  [
    "Stdlib_TestTests.res",
    21,
    13,
    27
  ],
  "print bigint"
], Test.print(bign$1), eq, "359538626972463141629054847463408713596141135051689993197834953606314521560057077521179117265533756343080917907028764928468642653778928365536935093407075033972099821153102564152490980180778657888151737016910267884609166473806445896331617118664246696549595652408289446337476354361838599762500808052368249716736n");

Test.run([
  [
    "Stdlib_TestTests.res",
    26,
    20,
    31
  ],
  "print set"
], Test.print(new Set([
  1,
  2,
  2,
  3
])), eq, "Set(3) { 1, 2, 3 }");

export {
  eq,
  bign$1 as bign,
}
/* bign Not a pure module */
