hexsha
stringlengths
40
40
size
int64
38
969k
ext
stringclasses
1 value
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
106
max_stars_repo_name
stringlengths
8
104
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
4
max_stars_count
int64
1
38.8k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
106
max_issues_repo_name
stringlengths
8
104
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
4
max_issues_count
int64
1
53.3k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
106
max_forks_repo_name
stringlengths
8
104
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
4
max_forks_count
int64
1
6.24k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
38
969k
avg_line_length
float64
6.33
6.5k
max_line_length
int64
15
269k
alphanum_fraction
float64
0.18
0.91
test_functions
listlengths
1
212
735c97e45f29ac5af50c1a7faa9b2f7f16ee53d8
1,816
jl
Julia
test/runtests.jl
UnofficialJuliaMirrorSnapshots/PETScBinaryIO.jl-7d8a6817-b67b-57e2-acac-4a73d125cd6b
6976c9d0fef9d8f356fd2be82f0115acd644ba15
[ "BSD-2-Clause" ]
2
2019-04-09T16:51:08.000Z
2019-10-20T02:21:52.000Z
test/runtests.jl
UnofficialJuliaMirrorSnapshots/PETScBinaryIO.jl-7d8a6817-b67b-57e2-acac-4a73d125cd6b
6976c9d0fef9d8f356fd2be82f0115acd644ba15
[ "BSD-2-Clause" ]
1
2019-12-19T17:57:12.000Z
2019-12-19T17:59:46.000Z
test/runtests.jl
UnofficialJuliaMirrorSnapshots/PETScBinaryIO.jl-7d8a6817-b67b-57e2-acac-4a73d125cd6b
6976c9d0fef9d8f356fd2be82f0115acd644ba15
[ "BSD-2-Clause" ]
null
null
null
using PETScBinaryIO using Test using SparseArrays function idempotent_io(int_type, scalar_type, itype_check, stype_check) try itype, stype = if int_type == nothing PETScBinaryIO.parse_petsc_config() else int_type, scalar_type end A = rand(stype, 1000) ...
33.62963
120
0.531388
[ "@testset \"Test Suite\" begin\n @testset \"Idempotent IO\" begin\n for itype in [Int32, Int64]\n for stype in [Float32, Float64]\n @testset \"$itype $stype\" begin\n @test idempotent_io(itype, stype, itype, stype)\n end\n\n @tests...
735cd88c1375874be30ba9e6d002d6438fd5ca12
6,309
jl
Julia
test/boundscheck_exec.jl
jonas-schulze/julia
5bf1ca5c724143091973ef6632f1b3026d8021af
[ "MIT" ]
38,805
2015-01-01T05:53:59.000Z
2022-03-31T23:28:26.000Z
test/boundscheck_exec.jl
jonas-schulze/julia
5bf1ca5c724143091973ef6632f1b3026d8021af
[ "MIT" ]
30,742
2015-01-01T00:00:30.000Z
2022-03-31T23:04:10.000Z
test/boundscheck_exec.jl
jonas-schulze/julia
5bf1ca5c724143091973ef6632f1b3026d8021af
[ "MIT" ]
6,238
2015-01-01T00:34:44.000Z
2022-03-31T19:37:03.000Z
# This file is a part of Julia. License is MIT: https://julialang.org/license module TestBoundsCheck using Test, Random, InteractiveUtils @enum BCOption bc_default bc_on bc_off bc_opt = BCOption(Base.JLOptions().check_bounds) # test for boundscheck block eliminated at same level @inline function A1() r = 0 ...
22.858696
139
0.647012
[ "@testset \"pass inbounds meta to getindex on CartesianIndices (#42115)\" begin\n @inline getindex_42115(r, i, j) = @inbounds getindex(r, i, j)\n\n R = CartesianIndices((5, 5))\n if bc_opt == bc_on\n @test_throws BoundsError getindex_42115(R, -1, -1)\n @test_throws BoundsError getindex_42115(...
735f6fd3dd639f4fffffedced12314e98d554f7d
36,728
jl
Julia
test/test_lininterp.jl
floswald/ApproXD.jl
ad168c9a7a1522d9d4e4739a184ee34b5db36131
[ "MIT" ]
26
2015-03-24T21:27:41.000Z
2022-02-26T17:18:42.000Z
test/test_lininterp.jl
floswald/ApproXD.jl
ad168c9a7a1522d9d4e4739a184ee34b5db36131
[ "MIT" ]
9
2015-02-23T10:28:52.000Z
2019-05-12T07:25:37.000Z
test/test_lininterp.jl
floswald/ApproXD.jl
ad168c9a7a1522d9d4e4739a184ee34b5db36131
[ "MIT" ]
4
2015-09-08T10:34:03.000Z
2017-05-17T12:33:48.000Z
module test_lin using ApproXD using Test # using SparseArrays # using LinearAlgebra @testset "constructor for 1D Lininterp on a single function" begin vs = rand(4) gs = Array{Float64,1}[] push!(gs, range(2.0, stop = 3, length = 4)) l = Lininterp(vs,gs) @test ApproXD.getDims(l) == [4] @test l.n == 1 @test l....
28.828885
84
0.570845
[ "@testset \"constructor for 1D Lininterp on a single function\" begin\n\n\tvs = rand(4)\n\tgs = Array{Float64,1}[]\n\tpush!(gs, range(2.0, stop = 3, length = 4))\n\n\tl = Lininterp(vs,gs)\n\n\t@test ApproXD.getDims(l) == [4]\n\t@test l.n == 1\n\t@test l.nfunc == 1\n\t@test l.ifunc == [1]\n\t@test l.infs == zeros(1)...
735fa27359597a53d3c4a7b439670d1cde02ba48
723
jl
Julia
test/runtests.jl
ssghost/CombinedParsers.jl
3424b8b8a505ad36c9f8a17997aa5c5f3f96929c
[ "MIT" ]
1
2021-07-26T11:04:20.000Z
2021-07-26T11:04:20.000Z
test/runtests.jl
ssghost/CombinedParsers.jl
3424b8b8a505ad36c9f8a17997aa5c5f3f96929c
[ "MIT" ]
null
null
null
test/runtests.jl
ssghost/CombinedParsers.jl
3424b8b8a505ad36c9f8a17997aa5c5f3f96929c
[ "MIT" ]
null
null
null
using CombinedParsers using Test @testset "CombinedParsers.jl" begin include("test-parser.jl") include("test-re.jl") include("pcretest-parser.jl") end import TextParse import TextParse: Numeric import Dates @testset "TextParse" begin @test parser(Numeric(Int)) isa CombinedParser @test !(TextParse....
27.807692
71
0.66805
[ "@testset \"CombinedParsers.jl\" begin\n include(\"test-parser.jl\")\n include(\"test-re.jl\")\n include(\"pcretest-parser.jl\")\nend", "@testset \"TextParse\" begin\n @test parser(Numeric(Int)) isa CombinedParser\n @test !(TextParse.Numeric(Int) isa CombinedParser)\n @test parse((\"some \" * Nu...
736219489e290dce41f02dfd305216df8030ab44
3,443
jl
Julia
test/astable.jl
etpinard/DataFramesMeta.jl
0a41fccc86cc2468733206cdbbb9002be41dd42f
[ "MIT" ]
null
null
null
test/astable.jl
etpinard/DataFramesMeta.jl
0a41fccc86cc2468733206cdbbb9002be41dd42f
[ "MIT" ]
null
null
null
test/astable.jl
etpinard/DataFramesMeta.jl
0a41fccc86cc2468733206cdbbb9002be41dd42f
[ "MIT" ]
null
null
null
module Testbyrow using Test using DataFrames using DataFramesMeta using Statistics const ≅ = isequal @testset "@transform with cols(AsTable)" begin df = DataFrame( g = [1, 1, 1, 2, 2], i = 1:5, t = ["a", "b", "c", "c", "e"], y = [:v, :w, :x, :y, :z], c = [:g, :quote, :body...
23.421769
79
0.422016
[ "@testset \"@transform with cols(AsTable)\" begin\n df = DataFrame(\n g = [1, 1, 1, 2, 2],\n i = 1:5,\n t = [\"a\", \"b\", \"c\", \"c\", \"e\"],\n y = [:v, :w, :x, :y, :z],\n c = [:g, :quote, :body, :transform, missing])\n\n d = @transform df cols(AsTable) = (a = 1, b = 2)\...
7364a5e81c957f80d674a6fe0bc12b483f5293ce
101
jl
Julia
test/runtests.jl
hildebrandmw/HugepageMmap.jl
b10de2717d993a6ae4d57dab5b402b838f57af9d
[ "MIT" ]
1
2020-07-03T11:56:21.000Z
2020-07-03T11:56:21.000Z
test/runtests.jl
hildebrandmw/HugepageMmap.jl
b10de2717d993a6ae4d57dab5b402b838f57af9d
[ "MIT" ]
null
null
null
test/runtests.jl
hildebrandmw/HugepageMmap.jl
b10de2717d993a6ae4d57dab5b402b838f57af9d
[ "MIT" ]
null
null
null
using HugepageMmap using Test @testset "HugepageMmap.jl" begin # Write your own tests here. end
14.428571
32
0.752475
[ "@testset \"HugepageMmap.jl\" begin\n # Write your own tests here.\nend" ]
73667320d9428a8d4d79cc4b74e77e35033d20c1
1,020
jl
Julia
test/runtests.jl
JuliaOcean/OceanColorData.jl
7c80423632f42a37132f8f4809cd6336ef2c2177
[ "MIT" ]
5
2021-05-05T18:52:32.000Z
2022-02-18T01:27:36.000Z
test/runtests.jl
JuliaOcean/OceanColorData.jl
7c80423632f42a37132f8f4809cd6336ef2c2177
[ "MIT" ]
1
2020-03-20T13:47:42.000Z
2020-04-22T20:22:10.000Z
test/runtests.jl
gaelforget/OceanColorData.jl
7c80423632f42a37132f8f4809cd6336ef2c2177
[ "MIT" ]
null
null
null
using OceanColorData using Test @testset "OceanColorData.jl" begin wvbd_out=[412, 443, 490, 510, 555, 670] wvbd_in=[400,425,450,475,500,525,550,575,600,625,650,675,700] rirr_in=1e-3*[23.7641,26.5037,27.9743,30.4914,28.1356, 21.9385,18.6545,13.5100,5.6338,3.9272,2.9621,2.1865,1.8015] rrs_ref=1e-3*[4.4099, 4.8533, ...
39.230769
89
0.772549
[ "@testset \"OceanColorData.jl\" begin\n\nwvbd_out=[412, 443, 490, 510, 555, 670]\nwvbd_in=[400,425,450,475,500,525,550,575,600,625,650,675,700]\nrirr_in=1e-3*[23.7641,26.5037,27.9743,30.4914,28.1356,\n 21.9385,18.6545,13.5100,5.6338,3.9272,2.9621,2.1865,1.8015]\nrrs_ref=1e-3*[4.4099, 4.8533, 5.1247, 4.5137, 3.08...
7367c3b5979f0e3fab0f2155400d40ad68a20a18
10,461
jl
Julia
test/runtests.jl
zachmatson/ArgMacros.jl
f0ec2c9fea5d9b7201fd81401a6b1d1dea74c47d
[ "MIT" ]
29
2020-05-19T19:41:31.000Z
2022-03-13T03:45:02.000Z
test/runtests.jl
zachmatson/ArgMacros.jl
f0ec2c9fea5d9b7201fd81401a6b1d1dea74c47d
[ "MIT" ]
8
2020-05-19T21:37:41.000Z
2022-03-31T04:23:45.000Z
test/runtests.jl
zachmatson/ArgMacros.jl
f0ec2c9fea5d9b7201fd81401a6b1d1dea74c47d
[ "MIT" ]
2
2020-05-19T21:35:57.000Z
2020-12-28T21:36:39.000Z
println("Times for 11 argument example using all macros") println("Load Time (using ArgMacros)") @time using ArgMacros using Test # Commands Set 1 let empty!(ARGS) append!(ARGS, ["TEST STRING F", "-deeee", "30", "3.14", "-b=6.28", "--cc", "ArgMacros", "-a", "2", "4", "5", "6"]) println("Inline Arguments T...
35.222222
134
0.559316
[ "@testset \"Incorrect Arguments Rejected\" begin\n # Make sure the test script is set up and working with correct args\n @test success(`julia --project=.. get_args_no_fail_at_exit.jl -- \"TEST STRING F\" -deeee 30 3.14 -b=6.28 --cc ArgMacros -a 2`)\n # These should fail\n @test !success(`julia --project...
73680650cfcccc719c2ef4da5df997a776a8745c
7,370
jl
Julia
test/indexset.jl
orialb/ITensors.jl
6a3992ab636944503a3697b39e2c909688806e84
[ "Apache-2.0" ]
null
null
null
test/indexset.jl
orialb/ITensors.jl
6a3992ab636944503a3697b39e2c909688806e84
[ "Apache-2.0" ]
null
null
null
test/indexset.jl
orialb/ITensors.jl
6a3992ab636944503a3697b39e2c909688806e84
[ "Apache-2.0" ]
null
null
null
using ITensors using Test using Compat @testset "IndexSet" begin idim = 2 jdim = 3 kdim = 4 ldim = 5 i = Index(idim,"i") j = Index(jdim,"j") k = Index(kdim,"k") l = Index(ldim,"l") @testset "show" begin indset = IndexSet(i,j,k) @test length(sprint(show, indset)) > 1 end @testset "Basic co...
28.565891
75
0.557666
[ "@testset \"IndexSet\" begin\n idim = 2\n jdim = 3\n kdim = 4\n ldim = 5\n i = Index(idim,\"i\")\n j = Index(jdim,\"j\")\n k = Index(kdim,\"k\")\n l = Index(ldim,\"l\")\n @testset \"show\" begin\n indset = IndexSet(i,j,k)\n @test length(sprint(show, indset)) > 1\n end\n @testset \"Basic constructor...
73696614cb213678cc4296fc53ff0ac4c8d441c9
11,350
jl
Julia
test/nodes/flow/coupling_flows/test_radial_flow.jl
HoangMHNguyen/ReactiveMP.jl
f3e848ab171e0786e3d8eb6a0843dbf6dacc7415
[ "MIT" ]
46
2021-03-28T13:18:20.000Z
2022-03-30T15:52:52.000Z
test/nodes/flow/coupling_flows/test_radial_flow.jl
HoangMHNguyen/ReactiveMP.jl
f3e848ab171e0786e3d8eb6a0843dbf6dacc7415
[ "MIT" ]
58
2021-03-17T16:07:47.000Z
2022-03-22T08:50:44.000Z
test/nodes/flow/coupling_flows/test_radial_flow.jl
HoangMHNguyen/ReactiveMP.jl
f3e848ab171e0786e3d8eb6a0843dbf6dacc7415
[ "MIT" ]
5
2021-07-12T18:48:05.000Z
2021-11-09T17:19:20.000Z
module FlowNodeCouplingFlowsRadialFlowTest using Test using ReactiveMP using ReactiveMP: getdim, getz0, getα, getβ, getall, setz0!, setα!, setβ! using ReactiveMP: forward, forward!, jacobian, jacobian!, inv_jacobian, inv_jacobian! using ReactiveMP: det_jacobian, absdet_jacobian, logdet_jacobian, logdet_jacobian, logab...
36.731392
226
0.550837
[ "@testset \"Radial Flow\" begin\n\n @testset \"Constructor\" begin\n \n # check for unspecified input\n f = RadialFlow()\n @test typeof(f) == ReactiveMP.RadialFlowPlaceholder\n\n # check when creating placeholder\n f = ReactiveMP.RadialFlowPlaceholder()\n @test ty...
736a11c17a0d1946885343ae83428c0b54ad16d8
1,030
jl
Julia
test/test_complex_fields.jl
HaraldHofstaetter/SymbolicIntegration.jl
bd1c73914d32651f136a9cfdb5ecaf20e7b1c692
[ "MIT" ]
28
2022-02-01T10:11:28.000Z
2022-02-28T10:25:06.000Z
test/test_complex_fields.jl
HaraldHofstaetter/SymbolicIntegration.jl
bd1c73914d32651f136a9cfdb5ecaf20e7b1c692
[ "MIT" ]
1
2022-02-01T15:49:17.000Z
2022-02-01T16:45:09.000Z
test/test_complex_fields.jl
HaraldHofstaetter/SymbolicIntegration.jl
bd1c73914d32651f136a9cfdb5ecaf20e7b1c692
[ "MIT" ]
null
null
null
using AbstractAlgebra using Nemo using SymbolicIntegration SI = SymbolicIntegration using Test @testset "Complex fields" begin QQx, x = PolynomialRing(Nemo.QQ, :x) k = FractionField(QQx) D0 = BasicDerivation(k) kI, I, D = SI.Complexify(k, D0) kI1, x1, I1, D1 = SI.switch_t_i(kI, D) f = (x^2...
21.914894
63
0.575728
[ "@testset \"Complex fields\" begin \n QQx, x = PolynomialRing(Nemo.QQ, :x)\n k = FractionField(QQx)\n D0 = BasicDerivation(k)\n kI, I, D = SI.Complexify(k, D0)\n kI1, x1, I1, D1 = SI.switch_t_i(kI, D)\n\n f = (x^2+3x-1)//(x-7)*I + x^2//(1+x^3)\n f1 = SI.transform(f, x1, I1)\n f2 = SI.backt...
736b5fec003d8fc6a49dc8ff3d7ca84e4646022a
3,463
jl
Julia
test/runtests.jl
petrposik/AoC2021
5f864b2dc7b84c7bd4867701d2cf71b81b4dc749
[ "MIT" ]
null
null
null
test/runtests.jl
petrposik/AoC2021
5f864b2dc7b84c7bd4867701d2cf71b81b4dc749
[ "MIT" ]
null
null
null
test/runtests.jl
petrposik/AoC2021
5f864b2dc7b84c7bd4867701d2cf71b81b4dc749
[ "MIT" ]
null
null
null
using Test using AoC2021 @testset "AoC2021" begin @testset "Day 1" begin @test AoC2021.sequence_diff([1, 2, 3, 4]) == [1, 1, 1] @test AoC2021.sequence_diff([1, 2, 3, 4], 2) == [2, 2] @test AoC2021.day01("../data/test_input01.txt") == (7, 5) @test AoC2021.day01("../data/input01.txt"...
44.397436
105
0.558764
[ "@testset \"AoC2021\" begin\n\n @testset \"Day 1\" begin\n @test AoC2021.sequence_diff([1, 2, 3, 4]) == [1, 1, 1]\n @test AoC2021.sequence_diff([1, 2, 3, 4], 2) == [2, 2]\n @test AoC2021.day01(\"../data/test_input01.txt\") == (7, 5)\n @test AoC2021.day01(\"../data/input01.txt\") == (1...
736d1459293c98ae34a3def7fb788a5e27729394
134,226
jl
Julia
stdlib/LibGit2/test/libgit2.jl
dmageeLANL/julia
684528cadc4bdc2d4b95d17265017b383d196cde
[ "Zlib" ]
1
2021-01-03T17:18:06.000Z
2021-01-03T17:18:06.000Z
stdlib/LibGit2/test/libgit2.jl
dmageeLANL/julia
684528cadc4bdc2d4b95d17265017b383d196cde
[ "Zlib" ]
null
null
null
stdlib/LibGit2/test/libgit2.jl
dmageeLANL/julia
684528cadc4bdc2d4b95d17265017b383d196cde
[ "Zlib" ]
null
null
null
# This file is a part of Julia. License is MIT: https://julialang.org/license module LibGit2Tests import LibGit2 using Test using Random, Serialization, Sockets const BASE_TEST_PATH = joinpath(Sys.BINDIR, "..", "share", "julia", "test") isdefined(Main, :FakePTYs) || @eval Main include(joinpath($(BASE_TEST_PATH), "te...
42.169651
160
0.544559
[ "@testset \"Check library version\" begin\n v = LibGit2.version()\n @test v.major == LIBGIT2_MIN_VER.major && v.minor >= LIBGIT2_MIN_VER.minor\nend", "@testset \"Check library features\" begin\n f = LibGit2.features()\n @test findfirst(isequal(LibGit2.Consts.FEATURE_SSH), f) !== nothing\n @test fin...
736e68dee1ef0e548acacfaf23bc784a7e02301a
32,373
jl
Julia
test/errorshow.jl
rssdev10/julia
4f67551767a9a2339ef53ba2a9590bb3fd64eb89
[ "Zlib" ]
1
2021-12-09T10:26:30.000Z
2021-12-09T10:26:30.000Z
test/errorshow.jl
rssdev10/julia
4f67551767a9a2339ef53ba2a9590bb3fd64eb89
[ "Zlib" ]
3
2016-04-15T13:46:09.000Z
2019-08-31T15:41:12.000Z
test/errorshow.jl
rssdev10/julia
4f67551767a9a2339ef53ba2a9590bb3fd64eb89
[ "Zlib" ]
1
2021-03-11T15:42:12.000Z
2021-03-11T15:42:12.000Z
# This file is a part of Julia. License is MIT: https://julialang.org/license using Random, LinearAlgebra # For curmod_* include("testenv.jl") @testset "SystemError" begin err = try; systemerror("reason", Cint(0)); false; catch ex; ex; end::SystemError errs = sprint(Base.showerror, err) @test startswith...
40.823455
257
0.66713
[ "@testset \"SystemError\" begin\n err = try; systemerror(\"reason\", Cint(0)); false; catch ex; ex; end::SystemError\n errs = sprint(Base.showerror, err)\n @test startswith(errs, \"SystemError: reason: \")\n\n err = try; systemerror(\"reason\", Cint(0), extrainfo=\"addend\"); false; catch ex; ex; end::S...
736fa4f1dfd4de49fed5fa7f0b4917392bc32412
706
jl
Julia
test/runtests.jl
stevengj/JpegTurbo.jl
f731e5e0f54c9bac6d67a1e6769069477b4ee028
[ "MIT" ]
12
2021-07-15T02:55:57.000Z
2022-03-09T04:53:09.000Z
test/runtests.jl
stevengj/JpegTurbo.jl
f731e5e0f54c9bac6d67a1e6769069477b4ee028
[ "MIT" ]
1
2022-01-29T23:03:50.000Z
2022-01-29T23:03:50.000Z
test/runtests.jl
stevengj/JpegTurbo.jl
f731e5e0f54c9bac6d67a1e6769069477b4ee028
[ "MIT" ]
1
2022-01-26T06:40:24.000Z
2022-01-26T06:40:24.000Z
using JpegTurbo using Test, TestImages import JpegTurbo: LibJpeg @testset "decompress" begin filename = testimage("earth_apollo17", download_only=true) cinfo = LibJpeg.jpeg_decompress_struct() jerr = Ref{LibJpeg.jpeg_error_mgr}() cinfo.err = LibJpeg.jpeg_std_error(jerr) LibJpeg.jpeg_create_decomp...
29.416667
73
0.736544
[ "@testset \"decompress\" begin\n filename = testimage(\"earth_apollo17\", download_only=true)\n\n cinfo = LibJpeg.jpeg_decompress_struct()\n jerr = Ref{LibJpeg.jpeg_error_mgr}()\n cinfo.err = LibJpeg.jpeg_std_error(jerr)\n LibJpeg.jpeg_create_decompress(cinfo)\n infile = ccall(:fopen, Libc.FILE, (...
7372a744c37cf62d7901c67633a23260eb45139a
230
jl
Julia
test/runtests.jl
JuliaHealth/SMARTBackendServices.jl
465e6adee8cebcd62e68e97375664a399c0a3fe2
[ "MIT" ]
null
null
null
test/runtests.jl
JuliaHealth/SMARTBackendServices.jl
465e6adee8cebcd62e68e97375664a399c0a3fe2
[ "MIT" ]
15
2021-02-20T18:09:48.000Z
2021-05-23T10:31:52.000Z
test/runtests.jl
JuliaHealth/SMARTBackendServices.jl
465e6adee8cebcd62e68e97375664a399c0a3fe2
[ "MIT" ]
null
null
null
using SMARTBackendServices using Test import JSONWebTokens include("test_private_key/create.jl") @testset "SMARTBackendServices.jl" begin include("basic.jl") include("jwt.jl") end include("test_private_key/delete.jl")
16.428571
40
0.773913
[ "@testset \"SMARTBackendServices.jl\" begin\n include(\"basic.jl\")\n include(\"jwt.jl\")\nend" ]
73771be64cbe8357c90ce7fd2a4fa644bfcbd2e1
26,368
jl
Julia
test/test_iofac.jl
baggepinnen/DescriptorSystems.jl
9ab27008132273de04d78e7faafd96c5486b66d6
[ "MIT" ]
11
2020-10-06T23:28:52.000Z
2022-03-22T02:26:16.000Z
test/test_iofac.jl
baggepinnen/DescriptorSystems.jl
9ab27008132273de04d78e7faafd96c5486b66d6
[ "MIT" ]
10
2021-01-21T13:10:52.000Z
2022-03-20T15:48:54.000Z
test/test_iofac.jl
baggepinnen/DescriptorSystems.jl
9ab27008132273de04d78e7faafd96c5486b66d6
[ "MIT" ]
3
2021-03-26T04:53:34.000Z
2022-03-09T13:15:48.000Z
module Test_iofac using DescriptorSystems using LinearAlgebra using Polynomials using Test println("Test_iofac") @testset "grsfg and grsfg" begin sys = rss(0,2,3); g = glinfnorm(sys)[1]*1.001 @time sysf = grsfg(sys,g) @test iszero(sysf'*sysf+sys'*sys-g*g*I,atol=1.e-7) @time sysf = glsfg(sys,g) @test iszero(sysf*sy...
45.150685
111
0.560793
[ "@testset \"grsfg and grsfg\" begin\n\nsys = rss(0,2,3); \ng = glinfnorm(sys)[1]*1.001\n@time sysf = grsfg(sys,g)\n@test iszero(sysf'*sysf+sys'*sys-g*g*I,atol=1.e-7)\n\n@time sysf = glsfg(sys,g)\n@test iszero(sysf*sysf'+sys*sys'-g*g*I,atol=1.e-7)\n\n\n# Error: Norm(sys) < g\n@test_throws ErrorException sysf = grsfg...
73782e7453ea9d5b06ae1158f2462a5115d7a4f7
109
jl
Julia
test/runtests.jl
daryoush/JuliaKitchenSink.jl
1f2052ff57a7627e21592ae21ca655b417825aff
[ "MIT" ]
null
null
null
test/runtests.jl
daryoush/JuliaKitchenSink.jl
1f2052ff57a7627e21592ae21ca655b417825aff
[ "MIT" ]
null
null
null
test/runtests.jl
daryoush/JuliaKitchenSink.jl
1f2052ff57a7627e21592ae21ca655b417825aff
[ "MIT" ]
null
null
null
using JuliaKitchenSink using Test @testset "JuliaKitchenSink.jl" begin # Write your own tests here. end
15.571429
36
0.770642
[ "@testset \"JuliaKitchenSink.jl\" begin\n # Write your own tests here.\nend" ]
7378c4a10bee0e870da872852d51bde1e9de1ab0
10,473
jl
Julia
test/moments.jl
tpgillam/StatsBase.jl
4f02efa1ea5d3c14efa3bd0a554f8cb7b0903d65
[ "MIT" ]
null
null
null
test/moments.jl
tpgillam/StatsBase.jl
4f02efa1ea5d3c14efa3bd0a554f8cb7b0903d65
[ "MIT" ]
null
null
null
test/moments.jl
tpgillam/StatsBase.jl
4f02efa1ea5d3c14efa3bd0a554f8cb7b0903d65
[ "MIT" ]
null
null
null
using StatsBase using Test @testset "StatsBase.Moments" begin weight_funcs = (weights, aweights, fweights, pweights) ##### weighted var & std x = [0.57, 0.10, 0.91, 0.72, 0.46, 0.0] w = [3.84, 2.70, 8.29, 8.91, 9.71, 0.0] @testset "Uncorrected with $f" for f in weight_funcs wv = f(w) m = mean(x, wv) # ...
35.622449
98
0.547981
[ "@testset \"StatsBase.Moments\" begin\nweight_funcs = (weights, aweights, fweights, pweights)\n\n##### weighted var & std\n\nx = [0.57, 0.10, 0.91, 0.72, 0.46, 0.0]\nw = [3.84, 2.70, 8.29, 8.91, 9.71, 0.0]\n\n@testset \"Uncorrected with $f\" for f in weight_funcs\n wv = f(w)\n m = mean(x, wv)\n\n # expecte...
7379bb2f5f9c44a7bf469a5ba18a1bcffd835344
1,625
jl
Julia
test/runtests.jl
tkf/ChainRules.jl
c8d01a32e52624af25fc31f91add3092b5d47301
[ "MIT" ]
null
null
null
test/runtests.jl
tkf/ChainRules.jl
c8d01a32e52624af25fc31f91add3092b5d47301
[ "MIT" ]
null
null
null
test/runtests.jl
tkf/ChainRules.jl
c8d01a32e52624af25fc31f91add3092b5d47301
[ "MIT" ]
null
null
null
using Base.Broadcast: broadcastable using ChainRules using ChainRulesCore using FiniteDifferences using LinearAlgebra using LinearAlgebra.BLAS using LinearAlgebra: dot using Random using Statistics using Test # For testing purposes we use a lot of using ChainRulesCore: cast, extern, accumulate, accumulate!, store!, @s...
30.660377
82
0.646154
[ "@testset \"ChainRules\" begin\n include(\"helper_functions.jl\")\n @testset \"rulesets\" begin\n @testset \"Base\" begin\n include(joinpath(\"rulesets\", \"Base\", \"base.jl\"))\n include(joinpath(\"rulesets\", \"Base\", \"array.jl\"))\n include(joinpath(\"rulesets\", ...
737a07f3e164bc395e6e6e039de03249b5772ba1
4,245
jl
Julia
test/runtests.jl
rafael-guerra-www/LinearFitXYerrors.jl
5109cda43472fb08f61b12ac792ca991a233c6a3
[ "MIT" ]
7
2021-09-12T18:13:36.000Z
2021-09-18T10:11:37.000Z
test/runtests.jl
rafael-guerra-www/LinearFitXYerrors.jl
5109cda43472fb08f61b12ac792ca991a233c6a3
[ "MIT" ]
2
2021-09-12T11:21:00.000Z
2021-10-11T19:43:40.000Z
test/runtests.jl
rafael-guerra-www/LinearFitXYerrors.jl
5109cda43472fb08f61b12ac792ca991a233c6a3
[ "MIT" ]
null
null
null
using LinearFitXYerrors using Test @testset "LinearFitXYerrors.jl" begin # 0a - TEST DATA WITH NO ERRORS # INPUT DATA: http://pba.ucdavis.edu/files/45007.pdf X = [16.4, 17.2, 17.6, 18.0, 18.2, 18.5] Y = [2.67, 2.75, 2.99, 3.14, 3.88, 4.23] stxy = linearfitxy(X,Y) @test stxy.a ≈ -9.46...
34.795082
75
0.521319
[ "@testset \"LinearFitXYerrors.jl\" begin\n\n\n # 0a - TEST DATA WITH NO ERRORS\n # INPUT DATA: http://pba.ucdavis.edu/files/45007.pdf\n\n X = [16.4, 17.2, 17.6, 18.0, 18.2, 18.5]\n Y = [2.67, 2.75, 2.99, 3.14, 3.88, 4.23]\n\n stxy = linearfitxy(X,Y)\n\n @test stxy.a ≈ -9.4628187535736\n @...
737ba009003380e725ff6f138851fbe868d658aa
1,684
jl
Julia
test/quantizer_tests.jl
asinghvi17/MusicManipulations.jl
da5567091d96c67ef9d89d96d6ea8316fe998cab
[ "MIT" ]
null
null
null
test/quantizer_tests.jl
asinghvi17/MusicManipulations.jl
da5567091d96c67ef9d89d96d6ea8316fe998cab
[ "MIT" ]
null
null
null
test/quantizer_tests.jl
asinghvi17/MusicManipulations.jl
da5567091d96c67ef9d89d96d6ea8316fe998cab
[ "MIT" ]
null
null
null
using Test let cd(@__DIR__) midi = readMIDIFile("serenade_full.mid") piano = midi.tracks[4] notes = getnotes(piano, midi.tpq) tpq = 960 triplets = [0, 1//3, 2//3, 1] sixteenths = [0, 1//4, 2//4, 3//4, 1] @testset "Classify triplets" begin @test isgrid(triplets) class = classify(notes, triplets) inbetw ...
20.047619
64
0.611639
[ "@testset \"Classify triplets\" begin\n\n @test isgrid(triplets)\n\n class = classify(notes, triplets)\n inbetw = [246\n 450\n 618\n 619\n 620\n 627\n 628\n 629\n 637\n 638\n 639\n 640]\n\n @test length(class) == length(notes)\n @test findall(class .== 2) == inbetw\n\...
737c611f51af85623d1d8cd00fc9e96223b9411e
7,457
jl
Julia
test/Bridges/Variable/rsoc_to_psd.jl
kibaekkim/MathOptInterface.jl
30087ba637886a47fe7387e58745fa05c7a7ec0a
[ "MIT" ]
null
null
null
test/Bridges/Variable/rsoc_to_psd.jl
kibaekkim/MathOptInterface.jl
30087ba637886a47fe7387e58745fa05c7a7ec0a
[ "MIT" ]
null
null
null
test/Bridges/Variable/rsoc_to_psd.jl
kibaekkim/MathOptInterface.jl
30087ba637886a47fe7387e58745fa05c7a7ec0a
[ "MIT" ]
null
null
null
using Test using MathOptInterface const MOI = MathOptInterface const MOIT = MathOptInterface.Test const MOIU = MathOptInterface.Utilities const MOIB = MathOptInterface.Bridges include("../utilities.jl") mock = MOIU.MockOptimizer(MOIU.Model{Float64}()) config = MOIT.TestConfig() bridged_mock = MOIB.Variable.RSOCtoPS...
42.129944
111
0.624246
[ "@testset \"RSOC of dimension 2\" begin\n MOI.empty!(bridged_mock)\n xy, cxy = MOI.add_constrained_variables(bridged_mock, MOI.RotatedSecondOrderCone(2))\n x, y = xy\n fx = MOI.SingleVariable(x)\n fy = MOI.SingleVariable(y)\n c = MOI.add_constraint(bridged_mock, 1.0fx + 1.0fy, MOI.LessThan(1.0))\n...
737d0b5ad382041ac51834ce8fcd72bcf602507e
18,945
jl
Julia
test/test_unit.jl
jbreue16/Trixi.jl
f6de21b834ceb9b9a5295cbf6b221ab297c279f0
[ "MIT" ]
null
null
null
test/test_unit.jl
jbreue16/Trixi.jl
f6de21b834ceb9b9a5295cbf6b221ab297c279f0
[ "MIT" ]
null
null
null
test/test_unit.jl
jbreue16/Trixi.jl
f6de21b834ceb9b9a5295cbf6b221ab297c279f0
[ "MIT" ]
null
null
null
module TestUnit using Test using Cassette using Documenter using Trixi # Start with a clean environment: remove Trixi output directory if it exists outdir = "out" isdir(outdir) && rm(outdir, recursive=true) # Create a Cassette context that will be used for mocking Trixi.mpi_nranks Cassette.@context Ctx # Run variou...
36.223709
105
0.615096
[ "@testset \"Unit tests\" begin\n @testset \"SerialTree\" begin\n @testset \"constructors\" begin\n @test_nowarn Trixi.SerialTree(Val(1), 10, 0.0, 1.0)\n end\n\n @testset \"helper functions\" begin\n t = Trixi.SerialTree(Val(1), 10, 0.0, 1.0)\n @test_nowarn display(t)\n @test Trixi.ndim...
737d73307ca0e9d19902ea50cc59e79d1b65d4b4
2,887
jl
Julia
test/runtests.jl
DRobbes/multiobjectiveGraphs
e37a4a10445bf3db7154050dcdc887de9db52ce7
[ "BSD-2-Clause" ]
null
null
null
test/runtests.jl
DRobbes/multiobjectiveGraphs
e37a4a10445bf3db7154050dcdc887de9db52ce7
[ "BSD-2-Clause" ]
null
null
null
test/runtests.jl
DRobbes/multiobjectiveGraphs
e37a4a10445bf3db7154050dcdc887de9db52ce7
[ "BSD-2-Clause" ]
null
null
null
println("=========== testing multiobjectiveGraphs package =============") #= import multiobjectiveGraphs using multiobjectiveGraphs =# greet() ### encore une fois ### #= import Pkg Pkg.add("Test") import Test =# using Test #= @testset "priority lists" begin PL = priorityList{UInt8}() add!(PL,UInt8(5)) ; pretty...
32.077778
220
0.62106
[ "@testset \"objectives\" begin\n\tanObj = weightMinSum{Int32}()\t\n\t@test typeof(objTypes(anObj)[1]) == typeof(\t\tweightMinSum{Int32}() \t\t) \t# --> 1\n \t@test typeof(objTypes(anObj)[2]) == typeof(\t\tweightMinProduct{Int32}() \t) \t# --> 2\n \t@test typeof(objTypes(anObj)[3]) == typeof(\t\tweightMinMax{Int3...
737dce70d366e9bca29ddf85fbbd840cebf2cc07
54,377
jl
Julia
test/indexing.jl
vonDonnerstein/DataFrames.jl
e5d799a59bd15051593340bf60f088ee4e8096dc
[ "MIT" ]
null
null
null
test/indexing.jl
vonDonnerstein/DataFrames.jl
e5d799a59bd15051593340bf60f088ee4e8096dc
[ "MIT" ]
null
null
null
test/indexing.jl
vonDonnerstein/DataFrames.jl
e5d799a59bd15051593340bf60f088ee4e8096dc
[ "MIT" ]
null
null
null
module TestIndexing using Test, DataFrames @testset "getindex DataFrame" begin df = DataFrame(a=1:3, b=4:6, c=7:9) @test df[!, 1] == [1, 2, 3] @test df[!, 1] === eachcol(df)[1] @test df[!, :a] == [1, 2, 3] @test df[!, :a] === eachcol(df)[1] @test df.a == [1, 2, 3] @test df.a === eachcol(d...
38.293662
133
0.52388
[ "@testset \"getindex DataFrame\" begin\n df = DataFrame(a=1:3, b=4:6, c=7:9)\n\n @test df[!, 1] == [1, 2, 3]\n @test df[!, 1] === eachcol(df)[1]\n @test df[!, :a] == [1, 2, 3]\n @test df[!, :a] === eachcol(df)[1]\n @test df.a == [1, 2, 3]\n @test df.a === eachcol(df)[1]\n\n for selector in [...
738824016bc0a0415061556ac44cb95511dff20e
600
jl
Julia
test/proposal.jl
jonasmac16/AdvancedHMC.jl
64a72da3f05cb7be112883c83c1e9335f9b55887
[ "MIT" ]
null
null
null
test/proposal.jl
jonasmac16/AdvancedHMC.jl
64a72da3f05cb7be112883c83c1e9335f9b55887
[ "MIT" ]
null
null
null
test/proposal.jl
jonasmac16/AdvancedHMC.jl
64a72da3f05cb7be112883c83c1e9335f9b55887
[ "MIT" ]
null
null
null
using Test, AdvancedHMC using Random include("common.jl") ϵ = 0.01 lf = Leapfrog(ϵ) θ_init = randn(D) h = Hamiltonian(UnitEuclideanMetric(D), logπ, ∂logπ∂θ) prop = NUTS(Leapfrog(find_good_eps(h, θ_init))) r_init = AdvancedHMC.rand_momentum(h) @testset "Passing random number generator" begin for seed in [1234, 56...
24
69
0.66
[ "@testset \"Passing random number generator\" begin\n for seed in [1234, 5678, 90]\n rng = MersenneTwister(seed)\n θ1, r1 = AdvancedHMC.transition(rng, prop, h, θ_init, r_init)\n\n rng = MersenneTwister(seed)\n θ2, r2 = AdvancedHMC.transition(rng, prop, h, θ_init, r_init)\n\n @...
738bed6fd63dac51ce4a38c39018b794ec15f0a0
3,917
jl
Julia
test/runtests.jl
mattuntergassmair/IncrementalPruning.jl
c337a57818c3b6894c57056ab5b77c5a4c0a5293
[ "MIT" ]
null
null
null
test/runtests.jl
mattuntergassmair/IncrementalPruning.jl
c337a57818c3b6894c57056ab5b77c5a4c0a5293
[ "MIT" ]
null
null
null
test/runtests.jl
mattuntergassmair/IncrementalPruning.jl
c337a57818c3b6894c57056ab5b77c5a4c0a5293
[ "MIT" ]
null
null
null
using Test using POMDPs, POMDPModels using POMDPPolicies, POMDPModelTools, POMDPTesting, BeliefUpdaters using IncrementalPruning const IP = IncrementalPruning @testset "Incremental Pruning Solver" begin @testset "Incremental Pruning Functions" begin # # dominate # return beleif state point where α ...
37.663462
107
0.523615
[ "@testset \"Incremental Pruning Solver\" begin\n @testset \"Incremental Pruning Functions\" begin\n # # dominate\n # return beleif state point where α dominates all other vectors in A\n α = [0.6, 0.6]\n A = Set([[1.0, -1.0], [0.0, 1.0]])\n x = IP.dominate(α, A)\n @test x...
738d4a8c1a49df2696d5c2059c2828032e48116a
295
jl
Julia
test/runtests.jl
jessierenton/SomaticEvolution.jl
a52cad8a45190ec6dba6e97cdaa3ff64617887f2
[ "MIT" ]
null
null
null
test/runtests.jl
jessierenton/SomaticEvolution.jl
a52cad8a45190ec6dba6e97cdaa3ff64617887f2
[ "MIT" ]
3
2022-02-25T11:03:04.000Z
2022-03-26T00:58:37.000Z
test/runtests.jl
jessierenton/SomaticEvolution.jl
a52cad8a45190ec6dba6e97cdaa3ff64617887f2
[ "MIT" ]
null
null
null
using SomaticEvolution using Test using Random using StatsBase tests = ["initialisation","multilevel","simulations","testio","process_mutations"] @testset "SomaticEvolution.jl" begin for test in tests @testset "$test" begin include(test*".jl") end end end
18.4375
82
0.677966
[ "@testset \"SomaticEvolution.jl\" begin\n for test in tests\n @testset \"$test\" begin\n include(test*\".jl\")\n end\n end\nend" ]
738f11b9004ddd5f2324e03b8ce21162042c849a
97
jl
Julia
test/runtests.jl
mtfishman/ITensorPySCF.jl
75c9a719a9c469dbd114b2c4065743110183410b
[ "MIT" ]
2
2021-11-22T21:12:22.000Z
2022-01-27T07:52:02.000Z
test/runtests.jl
mtfishman/ITensorPySCF.jl
75c9a719a9c469dbd114b2c4065743110183410b
[ "MIT" ]
null
null
null
test/runtests.jl
mtfishman/ITensorPySCF.jl
75c9a719a9c469dbd114b2c4065743110183410b
[ "MIT" ]
1
2022-01-27T00:16:22.000Z
2022-01-27T00:16:22.000Z
using ITensorPySCF using Test @testset "ITensorPySCF.jl" begin # Write your tests here. end
13.857143
32
0.752577
[ "@testset \"ITensorPySCF.jl\" begin\n # Write your tests here.\nend" ]
7390ec1424771567ab50484ad9dede3b74acbbb8
11,915
jl
Julia
test/geometrytypes.jl
LilithHafner/GeometryBasics.jl
1b34ffafff7729b7d8a18598bb89e1402598fd17
[ "MIT" ]
null
null
null
test/geometrytypes.jl
LilithHafner/GeometryBasics.jl
1b34ffafff7729b7d8a18598bb89e1402598fd17
[ "MIT" ]
null
null
null
test/geometrytypes.jl
LilithHafner/GeometryBasics.jl
1b34ffafff7729b7d8a18598bb89e1402598fd17
[ "MIT" ]
null
null
null
using Test, GeometryBasics @testset "Cylinder" begin @testset "constructors" begin o, extr, r = Point2f(1, 2), Point2f(3, 4), 5.0f0 s = Cylinder(o, extr, r) @test typeof(s) == Cylinder{2,Float32} @test typeof(s) == Cylinder2{Float32} @test origin(s) == o @test extrem...
40.665529
92
0.495594
[ "@testset \"Cylinder\" begin\n @testset \"constructors\" begin\n o, extr, r = Point2f(1, 2), Point2f(3, 4), 5.0f0\n s = Cylinder(o, extr, r)\n @test typeof(s) == Cylinder{2,Float32}\n @test typeof(s) == Cylinder2{Float32}\n @test origin(s) == o\n @test extremity(s) == ex...
73916c0fbeafd1ec0ba0def3c246e2c853a6dd49
1,127
jl
Julia
test/runtests.jl
mthelm85/PAM.jl
ea92348d5ee55e57d7d1a357aa9e2a319fa07d5f
[ "MIT" ]
1
2021-09-06T06:12:07.000Z
2021-09-06T06:12:07.000Z
test/runtests.jl
mthelm85/PAM.jl
ea92348d5ee55e57d7d1a357aa9e2a319fa07d5f
[ "MIT" ]
null
null
null
test/runtests.jl
mthelm85/PAM.jl
ea92348d5ee55e57d7d1a357aa9e2a319fa07d5f
[ "MIT" ]
null
null
null
using PAM using Test @testset "PAM.jl" begin X = [3.2 0.8 0.5 1.2 3.9 10.1 14.0 13.0 14.7 14.2; 1.1 3.3 0.4 3.9 3.9 10.6 14.4 13.7 12.6 10.8] D = [0.0 3.25576 2.78927 3.44093 2.88617 11.7414 17.1327 15.9625 16.2635 14.6659; 3.25576 0.0 2.91548 0.72111 3.15753 11.8229 17.2467 16.0312 16.7242 15...
51.227273
85
0.620231
[ "@testset \"PAM.jl\" begin\n X = [3.2 0.8 0.5 1.2 3.9 10.1 14.0 13.0 14.7 14.2;\n 1.1 3.3 0.4 3.9 3.9 10.6 14.4 13.7 12.6 10.8]\n D = [0.0 3.25576 2.78927 3.44093 2.88617 11.7414 17.1327 15.9625 16.2635 14.6659;\n 3.25576 0.0 2.91548 0.72111 3.15753 11.8229 17.2467 16.0312 16.7242 15.3561;\n ...
73977c014c5967198bd77160822b43ad65bd46ec
2,097
jl
Julia
test/volume.jl
millerjoey/MarketTechnicals.jl
9e09b8fc7b1f324725f83a3edff8117cffc455f1
[ "MIT" ]
101
2015-02-03T22:03:21.000Z
2022-03-27T03:57:13.000Z
test/volume.jl
millerjoey/MarketTechnicals.jl
9e09b8fc7b1f324725f83a3edff8117cffc455f1
[ "MIT" ]
85
2015-02-21T02:31:59.000Z
2022-01-28T21:29:40.000Z
test/volume.jl
millerjoey/MarketTechnicals.jl
9e09b8fc7b1f324725f83a3edff8117cffc455f1
[ "MIT" ]
31
2015-04-25T19:06:37.000Z
2022-03-20T01:19:01.000Z
using Test using MarketData using TimeSeries using MarketTechnicals @testset "Volume" begin @testset "obv" begin @test values(obv(ohlcv))[1] == 4783900 # TTR value is 4783900 @test values(obv(ohlcv))[12] == 9390200 # TTR value is 2000-01-19 9390200 @test timestamp(obv(ohlcv))[12] == Date(2000...
35.542373
82
0.60372
[ "@testset \"Volume\" begin\n\n\n@testset \"obv\" begin\n @test values(obv(ohlcv))[1] == 4783900 # TTR value is 4783900\n @test values(obv(ohlcv))[12] == 9390200 # TTR value is 2000-01-19 9390200\n @test timestamp(obv(ohlcv))[12] == Date(2000,1,19)\nend\n\n\n@testset \"vwap\" begin\n # TTR value...
73981d2a769e50b0a3ec82751f1b612ea823a2b1
1,754
jl
Julia
test/runtests.jl
niclaspopp/MultivariateDiscretization.jl
a3f9a058319f82d8904623d86d36ac884af72b9b
[ "MIT" ]
3
2020-10-24T14:44:38.000Z
2021-05-13T09:51:11.000Z
test/runtests.jl
niclaspopp/MultivariateDiscretization.jl
a3f9a058319f82d8904623d86d36ac884af72b9b
[ "MIT" ]
4
2020-10-21T11:27:33.000Z
2020-11-16T00:33:53.000Z
test/runtests.jl
niclaspopp/MultivariateDiscretization.jl
a3f9a058319f82d8904623d86d36ac884af72b9b
[ "MIT" ]
null
null
null
using MultivariateDiscretization using Test using DataFrames using Distributions using StatsBase using Statistics using LinearAlgebra using MultivariateStats # number of dimensions dims=10 # number of points points=100 # generate test dataset A = rand(Float64, (dims,dims)) Σ = A*A' μ = rand(dims) #d1 = MvNormal(μ, ...
31.890909
91
0.748575
[ "@testset \"MultivariateDiscretization.jl\" begin\n\n bb = MultivariateDiscretization.BayesianBlocks(Testdata,dims)\n dr = MultivariateDiscretization.DoaneRule(Testdata,dims)\n cpd = MultivariateDiscretization.CPD_clustered(Testdata,dims,points,3,float(3))\n ipd = MultivariateDiscretization.greedy_IPD_c...
739dcfdbe3b710e05b0c07803a977091dc381dd4
101
jl
Julia
test/runtests.jl
logankilpatrick/tutorials
d1f97b7e81ded47d541833f008b9fcb8872d310e
[ "Apache-2.0" ]
9
2019-12-11T00:16:06.000Z
2021-12-16T04:30:36.000Z
test/runtests.jl
logankilpatrick/tutorials
d1f97b7e81ded47d541833f008b9fcb8872d310e
[ "Apache-2.0" ]
16
2019-12-07T04:15:49.000Z
2021-10-01T19:54:20.000Z
test/runtests.jl
logankilpatrick/tutorials
d1f97b7e81ded47d541833f008b9fcb8872d310e
[ "Apache-2.0" ]
8
2019-12-11T19:20:14.000Z
2020-12-26T09:52:56.000Z
using YaoTutorials using Test @testset "YaoTutorials.jl" begin # Write your own tests here. end
14.428571
32
0.752475
[ "@testset \"YaoTutorials.jl\" begin\n # Write your own tests here.\nend" ]
73a1c300928159b138e6f077e2b6657a04af59f8
605
jl
Julia
test/queries/pr_constraint_tests.jl
joshuacnf/ProbabilisticCircuits.jl
cb3ecbdd2d0fe4b2ef5940f2a2b5a4e4c212fb3e
[ "Apache-2.0" ]
81
2019-12-22T22:09:21.000Z
2022-03-30T14:02:40.000Z
test/queries/pr_constraint_tests.jl
joshuacnf/ProbabilisticCircuits.jl
cb3ecbdd2d0fe4b2ef5940f2a2b5a4e4c212fb3e
[ "Apache-2.0" ]
93
2020-02-08T16:21:39.000Z
2022-03-17T07:17:40.000Z
test/queries/pr_constraint_tests.jl
joshuacnf/ProbabilisticCircuits.jl
cb3ecbdd2d0fe4b2ef5940f2a2b5a4e4c212fb3e
[ "Apache-2.0" ]
10
2020-02-08T10:41:23.000Z
2022-02-14T22:51:44.000Z
using Test using LogicCircuits using ProbabilisticCircuits @testset "Probability of constraint" begin # two nodes simplevtree = zoo_vtree_file("simple2.vtree") simplepsdd = zoo_psdd_file("simple2.4.psdd") pc = read((simplepsdd, simplevtree), StructProbCircuit) @test pr_constraint(pc, pc) ≈ 1....
26.304348
61
0.710744
[ "@testset \"Probability of constraint\" begin\n\n # two nodes\n simplevtree = zoo_vtree_file(\"simple2.vtree\")\n simplepsdd = zoo_psdd_file(\"simple2.4.psdd\")\n pc = read((simplepsdd, simplevtree), StructProbCircuit)\n \n @test pr_constraint(pc, pc) ≈ 1.0\n\n # Test with two psdds\n pc1fil...
73a8f81eef8a3d17097cb659d70fba977bf799fa
2,072
jl
Julia
test/test_timeevolution_schroedinger.jl
myrddin89/QuantumOptics.jl
d476ebbf21aa279e1d0f522764d7ff3147e5c6bb
[ "MIT" ]
null
null
null
test/test_timeevolution_schroedinger.jl
myrddin89/QuantumOptics.jl
d476ebbf21aa279e1d0f522764d7ff3147e5c6bb
[ "MIT" ]
null
null
null
test/test_timeevolution_schroedinger.jl
myrddin89/QuantumOptics.jl
d476ebbf21aa279e1d0f522764d7ff3147e5c6bb
[ "MIT" ]
null
null
null
using Test using QuantumOptics @testset "schroedinger" begin N = 3 Ncutoff = 2 T = [0.:0.1:1.;] Ω = [0 2 3; 2 0 1; 3 1 0] ω = [1., 1.2, 1.5] basis_fock = FockBasis(Ncutoff) basis = tensor([basis_fock for i=1:N]...) a = destroy(basis_fock) at = create(basis_fock) I = identityoperator(basis_fock) psi0 =...
22.769231
115
0.634653
[ "@testset \"schroedinger\" begin\n\nN = 3\nNcutoff = 2\nT = [0.:0.1:1.;]\n\nΩ = [0 2 3;\n 2 0 1;\n 3 1 0]\n\nω = [1., 1.2, 1.5]\n\nbasis_fock = FockBasis(Ncutoff)\nbasis = tensor([basis_fock for i=1:N]...)\n\na = destroy(basis_fock)\nat = create(basis_fock)\nI = identityoperator(basis_fock)\n\n\npsi0 = tens...
73a94495f5a470ba778fe7d3091130045d4f7f5e
38,717
jl
Julia
test/syntax.jl
JuliaLangEs/julieta
40e7d29f981749f28034bc8dd87645d2a7188f9c
[ "Zlib" ]
1
2016-03-28T11:28:58.000Z
2016-03-28T11:28:58.000Z
test/syntax.jl
JuliaLangEs/julieta
40e7d29f981749f28034bc8dd87645d2a7188f9c
[ "Zlib" ]
null
null
null
test/syntax.jl
JuliaLangEs/julieta
40e7d29f981749f28034bc8dd87645d2a7188f9c
[ "Zlib" ]
null
null
null
# This file is a part of Julia. License is MIT: https://julialang.org/license # tests for parser and syntax lowering import Base.Meta.ParseError function parseall(str) pos = start(str) exs = [] while !done(str, pos) ex, pos = Meta.parse(str, pos) push!(exs, ex) end if length(exs) ...
31.426136
133
0.560271
[ "@testset \"raw_str macro\" begin\n @test raw\"$\" == \"\\$\"\n @test raw\"\\n\" == \"\\\\n\"\n @test raw\"\\t\" == \"\\\\t\"\n\n s1 = raw\"\"\"\n lorem ipsum\\n\n $x = 1$\n \"\"\"\n\n s2 = \"\"\"\n lorem ipsum\\\\n\n \\$x = 1\\$\n \"\"\"\n\n @test s...
73ab96f87240351132d0716989c827bbf4f89bff
6,031
jl
Julia
test/functions_linearalgebra.jl
KristofferC/NamedDims.jl
8ecaed6321e2ed411eeeb7122dfcf6cd663182ef
[ "MIT" ]
null
null
null
test/functions_linearalgebra.jl
KristofferC/NamedDims.jl
8ecaed6321e2ed411eeeb7122dfcf6cd663182ef
[ "MIT" ]
null
null
null
test/functions_linearalgebra.jl
KristofferC/NamedDims.jl
8ecaed6321e2ed411eeeb7122dfcf6cd663182ef
[ "MIT" ]
null
null
null
using Test: approx_full using LinearAlgebra using NamedDims using NamedDims: dimnames using Test if !isdefined(@__MODULE__, :ColumnNorm) # Make work on old julia versions ColumnNorm() = Val(true) NoPivot() = Val(false) end function baseline_tests(fact, identity) # A set of generic tests to ensure that...
34.073446
97
0.550489
[ "@testset \"lu\" begin\n baseline_tests(lu, F -> getindex(F.L * F.U, F.p, :))\n\n # Explicit `dimnames` tests for readability\n nda = NamedDimsArray{(:foo, :bar)}([1.0 2 3; 4 5 6])\n x = lu(nda)\n @test dimnames(x.L) == (:foo, :_)\n @test dimnames(x.U) == (:_, :bar)\n @test dimnames(x.p) == (:f...
73ac2d12d374bdc618f266c95ddd93e6a367a0ad
10,713
jl
Julia
test/test_printing.jl
Krastanov/QuantumOpticsBase.jl
201b6305440b456b4b1936356e82735cfe6b2f90
[ "MIT" ]
null
null
null
test/test_printing.jl
Krastanov/QuantumOpticsBase.jl
201b6305440b456b4b1936356e82735cfe6b2f90
[ "MIT" ]
null
null
null
test/test_printing.jl
Krastanov/QuantumOpticsBase.jl
201b6305440b456b4b1936356e82735cfe6b2f90
[ "MIT" ]
null
null
null
using Test using QuantumOpticsBase @testset "printing" begin @test sprint(show, GenericBasis([2, 3])) == "Basis(shape=[2,3])" @test sprint(show, GenericBasis(2)) == "Basis(dim=2)" @test sprint(show, SpinBasis(1//1)) == "Spin(1)" @test sprint(show, SpinBasis(3//2)) == "Spin(3/2)" @test sprint(show, FockBasis(1)) == "F...
65.723926
1,215
0.551666
[ "@testset \"printing\" begin\n\n@test sprint(show, GenericBasis([2, 3])) == \"Basis(shape=[2,3])\"\n@test sprint(show, GenericBasis(2)) == \"Basis(dim=2)\"\n@test sprint(show, SpinBasis(1//1)) == \"Spin(1)\"\n@test sprint(show, SpinBasis(3//2)) == \"Spin(3/2)\"\n@test sprint(show, FockBasis(1)) == \"Fock(cutoff=1)\...
73ac64e1b4ddb11448707c582b23f6a5857c62fc
2,667
jl
Julia
test/deWall.jl
eOnofri04/AlphaShape.jl
8f7bef006b41fd49dfcc7cc99f6e666b5f858574
[ "MIT" ]
1
2019-09-04T17:41:16.000Z
2019-09-04T17:41:16.000Z
test/deWall.jl
eOnofri04/AlphaStructures.jl
301489190bcbf776f8202c2ede23be42d30aab36
[ "MIT" ]
3
2019-07-09T13:50:40.000Z
2021-03-30T09:25:43.000Z
test/deWall.jl
eOnofri04/AlphaStructures.jl
301489190bcbf776f8202c2ede23be42d30aab36
[ "MIT" ]
null
null
null
if VERSION < VersionNumber("1.0.0") using Base.Test else using Test end @testset "First Delaunay Wall Simplex" begin P = [ 1.0 1.0 1.5 2.0 2.0 0.0 0.2 1.3 1.0 1.0 2.0 0.0 0.0 1.0 0.5 ] axis = 1 off = AlphaStructures.findMedian(P, axis) @test sort(AlphaStructures.firstDeWallSimplex(P, axis, off)) == [1, ...
25.893204
93
0.610049
[ "@testset \"First Delaunay Wall Simplex\" begin\n\n\tP = [\n\t\t1.0 1.0 1.5 2.0 2.0\n\t\t0.0 0.2 1.3 1.0 1.0\n\t\t2.0 0.0 0.0 1.0 0.5\n\t]\n\n\taxis = 1\n\toff = AlphaStructures.findMedian(P, axis)\n\t@test sort(AlphaStructures.firstDeWallSimplex(P, axis, off)) == [1, 2, 3, 4]\n\n\taxis = 2\n\toff = AlphaStructures...
73ad4e946789495551cd07d61f9f4f4fdf5662be
1,030
jl
Julia
test/url.jl
quatrix/HTTP.jl
657dbf9a5d1d87e6e085158a5a053553fcaed032
[ "MIT" ]
null
null
null
test/url.jl
quatrix/HTTP.jl
657dbf9a5d1d87e6e085158a5a053553fcaed032
[ "MIT" ]
null
null
null
test/url.jl
quatrix/HTTP.jl
657dbf9a5d1d87e6e085158a5a053553fcaed032
[ "MIT" ]
null
null
null
using JSON using HTTP using Test @testset "HTTP.URL" begin tests = JSON.parse(String(read("resources/cweb-urls.json")))["tests"]["group"] @testset " - $test - $group" for group in tests, test in group["test"] name = group["name"] url = get(test, "url", nothing) if url !== nothing ...
25.75
82
0.495146
[ "@testset \"HTTP.URL\" begin\n tests = JSON.parse(String(read(\"resources/cweb-urls.json\")))[\"tests\"][\"group\"]\n\n @testset \" - $test - $group\" for group in tests, test in group[\"test\"]\n name = group[\"name\"]\n\n url = get(test, \"url\", nothing)\n\n if url !== nothing\n ...
73ae52d2e522c2f6016658d846a7c1b6d7678936
5,099
jl
Julia
test/runtests.jl
c42f/Contexts.jl
ba57cb68f0f6b03bae96f92a9114f514fe86cd81
[ "MIT" ]
13
2021-05-12T04:59:06.000Z
2021-05-18T19:33:30.000Z
test/runtests.jl
c42f/ResourceContexts.jl
ba57cb68f0f6b03bae96f92a9114f514fe86cd81
[ "MIT" ]
11
2021-05-22T10:43:31.000Z
2022-01-14T06:27:49.000Z
test/runtests.jl
c42f/ResourceContexts.jl
ba57cb68f0f6b03bae96f92a9114f514fe86cd81
[ "MIT" ]
2
2021-09-13T17:09:24.000Z
2021-09-16T13:54:34.000Z
using ResourceContexts using Test using Logging using Compat # Use of @! to pass context to resource creation function @! function foo(x, label) # Use of @defer inside a resource creation function @defer push!(x, label) end @! function bar(x; label=nothing) @defer push!(x, label) end @! function baz(x::T...
26.419689
81
0.622671
[ "@testset \"Cleanup ordering\" begin\n cleanups = []\n @context begin\n @defer push!(cleanups, :A)\n @! foo(cleanups, :B)\n @! bar(cleanups; label=:C)\n @! baz(cleanups, :D)\n @test cleanups == []\n end\n @test cleanups == [:D, :C, :B, :A]\nend", "@testset \"@context...
73afdf4bfd880237652a403b0886b64fb2176ba0
4,172
jl
Julia
test/fileDFGTests.jl
JuliaRobotics/DistributedFactorGraphs.jl
e602da953d7275c4886854aa6cbd52699ebcb042
[ "Apache-2.0" ]
25
2018-10-04T16:16:21.000Z
2022-03-17T21:54:55.000Z
test/fileDFGTests.jl
JuliaRobotics/DistributedFactorGraphs.jl
e602da953d7275c4886854aa6cbd52699ebcb042
[ "Apache-2.0" ]
708
2018-09-30T22:07:38.000Z
2022-03-28T19:22:15.000Z
test/fileDFGTests.jl
JuliaRobotics/DistributedFactorGraphs.jl
e602da953d7275c4886854aa6cbd52699ebcb042
[ "Apache-2.0" ]
3
2020-02-08T11:31:24.000Z
2022-02-05T08:35:13.000Z
using DistributedFactorGraphs using IncrementalInference using Test using TimeZones ## @testset "FileDFG Tests" begin for filename in ["/tmp/fileDFG", "/tmp/FileDFGExtension.tar.gz"] global dfg dfg = DistributedFactorGraphs._getDuplicatedEmptyDFG(dfg) if typeof(dfg) <: CloudGraphsDFG ...
39.733333
144
0.588207
[ "@testset \"FileDFG Tests\" begin\n for filename in [\"/tmp/fileDFG\", \"/tmp/FileDFGExtension.tar.gz\"]\n global dfg\n dfg = DistributedFactorGraphs._getDuplicatedEmptyDFG(dfg)\n\n if typeof(dfg) <: CloudGraphsDFG\n @warn \"TEST: Removing all data for user '$(dfg.userId)', robot ...
73b1c3059dd1c2edd5c068cb66aaa6f0c119b818
137
jl
Julia
test/runtests.jl
UnofficialJuliaMirror/YaoSym.jl-3b27209a-d3d6-11e9-3c0f-41eb92b2cb9d
e683534d9fa395b337c8a559663a3a12ba689525
[ "Apache-2.0" ]
8
2019-09-11T04:51:22.000Z
2021-12-16T04:30:06.000Z
test/runtests.jl
UnofficialJuliaMirror/YaoSym.jl-3b27209a-d3d6-11e9-3c0f-41eb92b2cb9d
e683534d9fa395b337c8a559663a3a12ba689525
[ "Apache-2.0" ]
35
2019-09-11T05:14:55.000Z
2021-12-02T18:48:56.000Z
test/runtests.jl
UnofficialJuliaMirror/YaoSym.jl-3b27209a-d3d6-11e9-3c0f-41eb92b2cb9d
e683534d9fa395b337c8a559663a3a12ba689525
[ "Apache-2.0" ]
2
2020-02-08T11:57:56.000Z
2021-12-16T04:32:45.000Z
using Test @testset "register" begin include("register.jl") end @testset "symengine" begin include("symengine/backend.jl") end
13.7
35
0.715328
[ "@testset \"register\" begin\n include(\"register.jl\")\nend", "@testset \"symengine\" begin\n include(\"symengine/backend.jl\")\nend" ]
73b332555eab741bdcf909689252d4f0ea0f00c7
656
jl
Julia
test/format_checksum.jl
UnofficialJuliaMirrorSnapshots/DataDepsGenerators.jl-a14fa8ac-7845-53f2-854f-e9bba4c623ff
4cbf6df419088aeff34942a4741e691081f5583f
[ "MIT" ]
15
2018-07-22T19:21:11.000Z
2022-01-19T22:39:42.000Z
test/format_checksum.jl
UnofficialJuliaMirrorSnapshots/DataDepsGenerators.jl-a14fa8ac-7845-53f2-854f-e9bba4c623ff
4cbf6df419088aeff34942a4741e691081f5583f
[ "MIT" ]
69
2017-11-13T08:27:53.000Z
2020-08-31T13:27:09.000Z
test/format_checksum.jl
UnofficialJuliaMirrorSnapshots/DataDepsGenerators.jl-a14fa8ac-7845-53f2-854f-e9bba4c623ff
4cbf6df419088aeff34942a4741e691081f5583f
[ "MIT" ]
9
2018-02-26T18:33:50.000Z
2021-08-03T12:24:35.000Z
using DataDepsGenerators:format_checksums using Test @testset "Formatting Checksums" begin @test format_checksums("898237b") == "\"898237b\"" @test format_checksums(["898237b", "aba1"]) == "[\"898237b\", \"aba1\"]" @test forma...
31.238095
68
0.466463
[ "@testset \"Formatting Checksums\" begin\n @test format_checksums(\"898237b\") ==\n \"\\\"898237b\\\"\"\n \n @test format_checksums([\"898237b\", \"aba1\"]) ==\n \"[\\\"898237b\\\", \\\"aba1\\\"]\"\n \n @test format_checksums((:md5,...
73b50c37ba1807e3106b2ab579b1acf1392d8d19
111
jl
Julia
test/runtests.jl
PetrKryslUCSD/MeshCore.jl
35846d9ff8c49172f6f2823e36972af2b408b5d3
[ "MIT" ]
15
2020-03-14T02:08:48.000Z
2021-07-14T03:35:54.000Z
test/runtests.jl
PetrKryslUCSD/MeshCore.jl
35846d9ff8c49172f6f2823e36972af2b408b5d3
[ "MIT" ]
3
2020-12-16T01:13:16.000Z
2021-03-11T21:34:47.000Z
test/runtests.jl
PetrKryslUCSD/MeshCore.jl
35846d9ff8c49172f6f2823e36972af2b408b5d3
[ "MIT" ]
9
2020-03-17T04:53:16.000Z
2021-03-14T09:00:50.000Z
using Test @time @testset "Mesh core" begin include("test_core.jl") include("attributes_tests.jl") end
18.5
34
0.711712
[ "@time @testset \"Mesh core\" begin\n include(\"test_core.jl\")\n include(\"attributes_tests.jl\")\nend" ]
73b7f0d1e1273b1223bca6718517a87eb0d1e879
2,708
jl
Julia
test/test_molecules.jl
detrin/OpenQuantumSystems.jl
b32495ab12e3b1142056ef362d8bb2d1a120afa8
[ "MIT" ]
6
2020-08-03T09:59:53.000Z
2022-01-08T11:15:44.000Z
test/test_molecules.jl
detrin/OpenQuantumSystems.jl
b32495ab12e3b1142056ef362d8bb2d1a120afa8
[ "MIT" ]
22
2020-11-17T11:49:10.000Z
2022-03-20T08:28:16.000Z
test/test_molecules.jl
detrin/OpenQuantumSystems.jl
b32495ab12e3b1142056ef362d8bb2d1a120afa8
[ "MIT" ]
null
null
null
using Test using OpenQuantumSystems using LinearAlgebra # using Traceur @testset "molecules" begin D(op1::Array, op2::Array) = abs(norm(op1 - op2)) fc1 = franckCondonFactors(3, 0.0) fc2 = [ 1.0+0.0im 0.0+0.0im 0.0+0.0im 0.0+0.0im 1.0+0.0im 0.0+0.0im 0.0+0.0im 0.0+0.0im 1.0+0.0im ...
27.917526
90
0.539513
[ "@testset \"molecules\" begin\n\n D(op1::Array, op2::Array) = abs(norm(op1 - op2))\n\n fc1 = franckCondonFactors(3, 0.0)\n fc2 = [\n 1.0+0.0im 0.0+0.0im 0.0+0.0im\n 0.0+0.0im 1.0+0.0im 0.0+0.0im\n 0.0+0.0im 0.0+0.0im 1.0+0.0im\n ]\n @test 1e-12 > D(fc1, fc2)\n\n fc1 = franckCo...
73bba2ecd667332375d0d6400886ee51ac562d5b
97
jl
Julia
test/runtests.jl
sambuddhac/TestOptJulia
3fb6c028782b0f4d0274e8dc1d7a035968a8e55d
[ "MIT" ]
1
2021-06-21T10:20:06.000Z
2021-06-21T10:20:06.000Z
test/runtests.jl
sambuddhac/TestOptJulia
3fb6c028782b0f4d0274e8dc1d7a035968a8e55d
[ "MIT" ]
null
null
null
test/runtests.jl
sambuddhac/TestOptJulia
3fb6c028782b0f4d0274e8dc1d7a035968a8e55d
[ "MIT" ]
null
null
null
using TestOptJulia using Test @testset "TestOptJulia.jl" begin # Write your tests here. end
13.857143
32
0.752577
[ "@testset \"TestOptJulia.jl\" begin\n # Write your tests here.\nend" ]
73bf490c9738f3da972f8672c8befe287a86e7f1
356
jl
Julia
test/quick_sort.jl
yuehhua/Algorithm101
98591f7f9da98db1942e1b87b43caa555aba3f98
[ "MIT" ]
null
null
null
test/quick_sort.jl
yuehhua/Algorithm101
98591f7f9da98db1942e1b87b43caa555aba3f98
[ "MIT" ]
null
null
null
test/quick_sort.jl
yuehhua/Algorithm101
98591f7f9da98db1942e1b87b43caa555aba3f98
[ "MIT" ]
1
2021-06-18T13:04:10.000Z
2021-06-18T13:04:10.000Z
using Test using Algorithm101 const ALGO = Algorithm101 @testset "Test QuickSort" begin # Test: 5 elements data = [5,2,4,3,1] answer = sort(data) @test ALGO.quick_sort!(data, 1, length(data)) == answer # Test: 100 elements data = rand(100) answer = sort(data) @test ALGO.quick_sort!(da...
19.777778
59
0.643258
[ "@testset \"Test QuickSort\" begin\n\n # Test: 5 elements\n data = [5,2,4,3,1]\n answer = sort(data)\n @test ALGO.quick_sort!(data, 1, length(data)) == answer\n\n # Test: 100 elements\n data = rand(100)\n answer = sort(data)\n @test ALGO.quick_sort!(data, 1, length(data)) == answer\n\nend" ]
73c22f7a331196f990aa3abcd4738d9aa086d3f6
1,555
jl
Julia
script/facet_verifications/verify_anti_guessing_facet.jl
ChitambarLab/SignalingDimension.jl
5ec10bda0b480e0f811595210d33aad99eba4e0a
[ "MIT" ]
2
2021-03-05T01:27:15.000Z
2021-04-16T22:43:34.000Z
script/facet_verifications/verify_anti_guessing_facet.jl
ChitambarLab/SignalingDimension.jl
5ec10bda0b480e0f811595210d33aad99eba4e0a
[ "MIT" ]
2
2021-02-24T17:35:37.000Z
2021-02-28T01:32:34.000Z
script/facet_verifications/verify_anti_guessing_facet.jl
ChitambarLab/SignalingDimension.jl
5ec10bda0b480e0f811595210d33aad99eba4e0a
[ "MIT" ]
1
2021-04-16T22:43:41.000Z
2021-04-16T22:43:41.000Z
using Test, ArgParse using SignalingDimension try print_test_results catch err include("../utilities.jl") using .ScriptUtilities: print_test_results end # parsing command line arguments arg_table = ArgParseSettings() @add_arg_table! arg_table begin "-N" help = "max number of inputs/outputs to cons...
31.734694
90
0.618006
[ "@testset \"Testing all anti-guessing facets of size `($N_max, $N_max)` or less.\" begin\n @testset \"Scanning over all `d ∈ [2, $N - 2]`\" for N in 4:N_max\n @testset \"Scanning over all `ε ∈ [3, $N - $d + 1]`\" for d in 2:N-2\n @testset \"Verifying N = $N, d = $d, ε = $ε\" for ε ...
73c31e668f0183db7e4e38ad96a8a2608cd76120
8,414
jl
Julia
test/interface.jl
petruz93/LinearAlgebraicRepresentation.jl
d3facd81e331cdc2f8e37fc1e6641b01fa40c0ff
[ "MIT" ]
1
2019-02-25T16:45:01.000Z
2019-02-25T16:45:01.000Z
test/interface.jl
petruz93/LinearAlgebraicRepresentation.jl
d3facd81e331cdc2f8e37fc1e6641b01fa40c0ff
[ "MIT" ]
1
2019-06-03T11:48:14.000Z
2019-06-03T11:48:14.000Z
test/interface.jl
petruz93/LinearAlgebraicRepresentation.jl
d3facd81e331cdc2f8e37fc1e6641b01fa40c0ff
[ "MIT" ]
null
null
null
using Test using SparseArrays using LinearAlgebraicRepresentation Lar = LinearAlgebraicRepresentation @testset "interface.jl file Tests" begin @testset "characteristicMatrix Tests" begin V,(VV,EV,FV,CV) = Lar.cuboid([1.,1.,1.], true); @test Matrix(Lar.characteristicMatrix(FV)) == [ 1 1 1 1 0 0 0 0; ...
42.07
92
0.497266
[ "@testset \"interface.jl file Tests\" begin\n\t@testset \"characteristicMatrix Tests\" begin\n\t\tV,(VV,EV,FV,CV) = Lar.cuboid([1.,1.,1.], true); \n\t\t@test Matrix(Lar.characteristicMatrix(FV)) == [\n\t\t 1 1 1 1 0 0 0 0;\n\t\t 0 0 0 0 1 1 1 1;\n\t\t 1 1 0 0 1 1 0 0;\n\t\t 0 0 1 1 0 0 1 ...
73c50c28fe937a2659385e2ab3608e1d7e2e3c3a
4,351
jl
Julia
docs/literate/make.jl
panalluri/Trixi.jl
faab9964204923c1a21b55ebf788c8a37aa01e90
[ "MIT" ]
234
2020-08-27T14:16:39.000Z
2022-03-25T17:15:12.000Z
docs/literate/make.jl
panalluri/Trixi.jl
faab9964204923c1a21b55ebf788c8a37aa01e90
[ "MIT" ]
863
2020-08-19T07:04:27.000Z
2022-03-31T09:36:14.000Z
docs/literate/make.jl
panalluri/Trixi.jl
faab9964204923c1a21b55ebf788c8a37aa01e90
[ "MIT" ]
53
2020-08-19T06:24:31.000Z
2022-03-31T12:01:31.000Z
using Literate: Literate using Test: @testset import Pkg # Create markdown and notebook files for `file` function create_files(title, file, repo_src, pages_dir, notebooks_dir; folder="") notebook_filename = first(splitext(file)) * ".ipynb" if !isempty(folder) notebook_filename = joinpath(folder, notebo...
46.784946
238
0.664215
[ "@testset \"TrixiTutorials\" begin\n for (i, (title, filename)) in enumerate(files)\n if filename isa Vector # Several files of one topic\n for j in eachindex(filename)\n @testset \"$(filename[j][2][2])\" begin include(joinpath(repo_src, filename[j][2][1], filenam...
73c9722d38d00587967d369b5b2cec7bed542c3f
4,877
jl
Julia
test/runtests.jl
cscherrer/DynamicIterators.jl
a3fc9cf6323e5630e08bf6c7b31084107dedd7fe
[ "MIT" ]
null
null
null
test/runtests.jl
cscherrer/DynamicIterators.jl
a3fc9cf6323e5630e08bf6c7b31084107dedd7fe
[ "MIT" ]
null
null
null
test/runtests.jl
cscherrer/DynamicIterators.jl
a3fc9cf6323e5630e08bf6c7b31084107dedd7fe
[ "MIT" ]
null
null
null
using DynamicIterators using DynamicIterators: dub, _lastiterate, Sampled, State, Controlled using Test using Trajectories import DynamicIterators.dyniterate @testset "Examples" begin include("../example/metropolishastings.jl") include("../example/cumsum.jl") end c = collect cf = collectfrom # Arnolds ...
28.028736
115
0.546237
[ "@testset \"Examples\" begin\n include(\"../example/metropolishastings.jl\")\n include(\"../example/cumsum.jl\")\n\nend", "@testset \"Evolve\" begin\n\n A = [ 0 0 0 0 0 0\n 0 1 1 1 1 0\n 0 1 0 0 1 0\n 0 1 1 1 1 0\n 0 1 0 0 1 0\n 0 0 0 0 0 0\n ...
73cb58703e37a8b271ce755130f1e2f9e12fe218
9,087
jl
Julia
test/test_Density.jl
albert-de-montserrat/GeoParams.jl
59ccd8f19cf70ca20a02144dd0a917bdb55937cd
[ "MIT" ]
null
null
null
test/test_Density.jl
albert-de-montserrat/GeoParams.jl
59ccd8f19cf70ca20a02144dd0a917bdb55937cd
[ "MIT" ]
null
null
null
test/test_Density.jl
albert-de-montserrat/GeoParams.jl
59ccd8f19cf70ca20a02144dd0a917bdb55937cd
[ "MIT" ]
null
null
null
using Test using GeoParams @testset "Density.jl" begin #Set alias for density function @use GeoParamsAliases density=ρ #Make sure that structs are isbits x = ConstantDensity() @test isbits(x) x = PT_Density() @test isbits(x) x = Compressible_Density() @test isbits(x) # This tests the M...
40.207965
149
0.652581
[ "@testset \"Density.jl\" begin\n\n #Set alias for density function \n @use GeoParamsAliases density=ρ \n\n #Make sure that structs are isbits\n x = ConstantDensity()\n @test isbits(x)\n\n x = PT_Density()\n @test isbits(x)\n\n x = Compressible_Density()\n @test isbits(x)\n\n # This tests the Materia...
73cccc08c2689c7092cf923b48d7664d45248c2c
9,145
jl
Julia
test/ensembles.jl
drcxcruz/MLJ.jl
ee3c4a63bfbe8bfb7c72fe9c64581cd4ac73ed10
[ "MIT" ]
null
null
null
test/ensembles.jl
drcxcruz/MLJ.jl
ee3c4a63bfbe8bfb7c72fe9c64581cd4ac73ed10
[ "MIT" ]
null
null
null
test/ensembles.jl
drcxcruz/MLJ.jl
ee3c4a63bfbe8bfb7c72fe9c64581cd4ac73ed10
[ "MIT" ]
null
null
null
module TestEnsembles using Test using Random using StableRNGs using MLJ using MLJBase import MLJModels using CategoricalArrays import Distributions @load KNNRegressor ## HELPER FUNCTIONS @test MLJ._reducer([1, 2], [3, ]) == [1, 2, 3] @test MLJ._reducer(([1, 2], [:x, :y]), ([3, 4, 5], [:z, :w, :a])) == ([1, 2, 3...
36.289683
88
0.701367
[ "@testset \"further test of sample weights\" begin\n rng = StableRNG(123)\n N = 20\n X = (x = rand(rng, 3N), );\n y = categorical(rand(rng, \"abbbc\", 3N));\n atom = @load KNNClassifier\n ensemble_model = MLJ.ProbabilisticEnsembleModel(atom=atom,\n ...
73d4a6cbc9b962f8c72325e0d3edc57f62f7340f
71,942
jl
Julia
test/Bridges/lazy_bridge_optimizer.jl
shadiakiki1986/MathOptInterface.jl
6092c3df58851290fa9caf00e886432e827502fd
[ "MIT" ]
null
null
null
test/Bridges/lazy_bridge_optimizer.jl
shadiakiki1986/MathOptInterface.jl
6092c3df58851290fa9caf00e886432e827502fd
[ "MIT" ]
null
null
null
test/Bridges/lazy_bridge_optimizer.jl
shadiakiki1986/MathOptInterface.jl
6092c3df58851290fa9caf00e886432e827502fd
[ "MIT" ]
null
null
null
using Test using MathOptInterface const MOI = MathOptInterface const MOIT = MathOptInterface.Test const MOIU = MathOptInterface.Utilities const MOIB = MathOptInterface.Bridges @testset "Add/remove/has bridges" begin T = Int model = MOIU.Model{T}() bridged = MOIB.LazyBridgeOptimizer(model) for BT in [M...
62.39549
279
0.709627
[ "@testset \"Add/remove/has bridges\" begin\n T = Int\n model = MOIU.Model{T}()\n bridged = MOIB.LazyBridgeOptimizer(model)\n for BT in [MOIB.Variable.VectorizeBridge{T},\n MOIB.Constraint.VectorizeBridge{T},\n MOIB.Objective.FunctionizeBridge{T},\n MOIB.Constrai...
73da08f8ddc1e1c5114b210b0b471e179bcfcce2
6,661
jl
Julia
test/odesystem.jl
GlenHertz/ModelingToolkit.jl
23ab27aec40430efdc1beb5a7ebb1769a057b1ff
[ "MIT" ]
null
null
null
test/odesystem.jl
GlenHertz/ModelingToolkit.jl
23ab27aec40430efdc1beb5a7ebb1769a057b1ff
[ "MIT" ]
null
null
null
test/odesystem.jl
GlenHertz/ModelingToolkit.jl
23ab27aec40430efdc1beb5a7ebb1769a057b1ff
[ "MIT" ]
null
null
null
using ModelingToolkit, StaticArrays, LinearAlgebra using OrdinaryDiffEq using DiffEqBase, SparseArrays using Test using ModelingToolkit: value # Define some variables @parameters t σ ρ β @variables x(t) y(t) z(t) D = Differential(t) # Define a differential equation eqs = [D(x) ~ σ*(y-x), D(y) ~ x*(ρ-z)-y, ...
26.537849
125
0.567783
[ "@testset \"time-varying parameters\" begin\n @parameters σ′(t-1)\n eqs = [D(x) ~ σ′*(y-x),\n D(y) ~ x*(ρ-z)-y,\n D(z) ~ x*y - β*z]\n de = ODESystem(eqs)\n test_diffeq_inference(\"global iv-varying\", de, t, (x, y, z), (σ′, ρ, β))\n @test begin\n f = eval(generate_function(...
73ded95496c1bb4805f66dc48c93d59b30fee2e5
11,390
jl
Julia
test/runtests.jl
lcx09/BilevelJuMP.jl
1bc3b81a72f68c910002ee23c39acf073b4c7702
[ "MIT" ]
1
2021-03-29T07:46:11.000Z
2021-03-29T07:46:11.000Z
test/runtests.jl
lcx09/BilevelJuMP.jl
1bc3b81a72f68c910002ee23c39acf073b4c7702
[ "MIT" ]
null
null
null
test/runtests.jl
lcx09/BilevelJuMP.jl
1bc3b81a72f68c910002ee23c39acf073b4c7702
[ "MIT" ]
null
null
null
using BilevelJuMP using Test, MathOptInterface, JuMP, Dualization # using MathOptFormat const MOI = MathOptInterface const MOIU = MathOptInterface.Utilities const MOIB = MathOptInterface.Bridges const MOIT = MathOptInterface.Test # TODO # add JUMPExtension test struct Config atol::Float64 rtol::Float64 ...
34.72561
172
0.690255
[ "@testset \"BilevelJuMP tests\" begin\n\n@testset \"Unit\" begin\n jump_display()\n jump_objective()\n jump_bounds()\n jump_attributes()\n mixed_mode_unit()\n jump_constraints()\n jump_variables()\n for solver in solvers_sos\n invalid_lower_objective(solver.opt, solver.mode)\n ...
73e25ab76b024a31936a3790ccf3720c1f6187d6
17,519
jl
Julia
test/dataframerow.jl
non-Jedi/DataFrames.jl
8bfa59e592c98219705fcaef6e9768578f6fa3bf
[ "MIT" ]
null
null
null
test/dataframerow.jl
non-Jedi/DataFrames.jl
8bfa59e592c98219705fcaef6e9768578f6fa3bf
[ "MIT" ]
null
null
null
test/dataframerow.jl
non-Jedi/DataFrames.jl
8bfa59e592c98219705fcaef6e9768578f6fa3bf
[ "MIT" ]
null
null
null
module TestDataFrameRow using Test, DataFrames, Random, Logging const ≅ = isequal const ≇ = !isequal ref_df = DataFrame(a=Union{Int, Missing}[1, 2, 3, 1, 2, 2], b=[2.0, missing, 1.2, 2.0, missing, missing], c=["A", "B", "C", "A", "B", missing], d=CategoricalArr...
35.753061
107
0.515783
[ "@testset \"constructors\" begin\n df = deepcopy(ref_df)\n sdf = view(df, [5, 3], [3, 1, 2])\n\n @test names(DataFrameRow(df, 1, :)) == [:a, :b, :c, :d]\n @test DataFrameRow(df, 1) == DataFrameRow(df, 1, :)\n @test DataFrameRow(df, 1) == DataFrameRow(df, 1, r\"\")\n @test names(DataFrameRow(df, 3,...
73e304bc42845466f0337f23c430d887e6a876db
7,215
jl
Julia
test/tables.jl
UnofficialJuliaMirror/TimeSeries.jl-9e3dc215-6440-5c97-bce1-76c03772f85e
a162268a8edf7a64ef57f874148897bf9ec6ec07
[ "MIT" ]
null
null
null
test/tables.jl
UnofficialJuliaMirror/TimeSeries.jl-9e3dc215-6440-5c97-bce1-76c03772f85e
a162268a8edf7a64ef57f874148897bf9ec6ec07
[ "MIT" ]
null
null
null
test/tables.jl
UnofficialJuliaMirror/TimeSeries.jl-9e3dc215-6440-5c97-bce1-76c03772f85e
a162268a8edf7a64ef57f874148897bf9ec6ec07
[ "MIT" ]
null
null
null
using Test using TimeSeries using MarketData using DataFrames using Tables using CSV @testset "Tables.jl integration" begin @testset "interface" begin @testset "single column" begin @test Tables.istable(cl) @test Tables.istable(typeof(cl)) @test Tables.rowaccess(cl) @test Table...
33.873239
80
0.490783
[ "@testset \"Tables.jl integration\" begin\n\n\n@testset \"interface\" begin\n\n @testset \"single column\" begin\n @test Tables.istable(cl)\n @test Tables.istable(typeof(cl))\n @test Tables.rowaccess(cl)\n @test Tables.columnaccess(cl)\n\n sch = Tables.schema(cl)\n @test...
73ed2c65a8e61a60a08dff2bc233805e6f9c2a02
2,945
jl
Julia
test/part2.jl
YWang-east/course-101-0250-00-FinalProject
ca9d95b9dd2ccfc6c7c56d8240d07ce735a1e02e
[ "MIT" ]
null
null
null
test/part2.jl
YWang-east/course-101-0250-00-FinalProject
ca9d95b9dd2ccfc6c7c56d8240d07ce735a1e02e
[ "MIT" ]
1
2021-12-10T10:43:03.000Z
2021-12-11T18:10:57.000Z
test/part2.jl
YWang-east/course-101-0250-00-FinalProject
ca9d95b9dd2ccfc6c7c56d8240d07ce735a1e02e
[ "MIT" ]
null
null
null
# Testing part 2 using Test, ReferenceTests # for testing, comment the function call: TM_2D(; do_visu = true) at the end of TM_2D_perf.jl include("../scripts-part2/TM_2D_perf.jl") # ------------------test macros defined in TM_2D_perf.jl--------------------- # Initialize arbitrary values for varialbes necessary for th...
47.5
103
0.596265
[ "@testset \"Test strain rate macros\" begin\n @test isapprox(∇V , ∇V_ref, atol=tol)\n @test isapprox(ϵxx, ϵxx_ref, atol=tol)\n @test isapprox(ϵyy, ϵyy_ref, atol=tol)\n @test isapprox(ϵxy, ϵxy_ref, atol=tol)\nend", "@testset \"Test stress macros\" begin\n @test isapprox(τxx, τxx_ref, atol=tol)\n ...
73eeabfb8cc686dc4c572b5971b287e02877e9dd
593
jl
Julia
test/Tracing.jl
JuliaTagBot/TaskHeritableStorage.jl
3ecb11693d45c48007de2c15aefc461f53ea9138
[ "MIT" ]
null
null
null
test/Tracing.jl
JuliaTagBot/TaskHeritableStorage.jl
3ecb11693d45c48007de2c15aefc461f53ea9138
[ "MIT" ]
2
2019-11-04T20:03:36.000Z
2019-11-05T00:45:03.000Z
test/Tracing.jl
JuliaTagBot/TaskHeritableStorage.jl
3ecb11693d45c48007de2c15aefc461f53ea9138
[ "MIT" ]
2
2020-02-08T11:36:00.000Z
2021-04-17T19:41:56.000Z
module TracingTests #end include("../examples/Tracing.jl") using .Tracing @static if VERSION >= v"1.3-" import Base.Threads: @spawn else macro spawn(e) esc(:(@async(e))) end end using Test @testset "Tracing example" begin edges = tracetasks() do @sync begin @async begin ...
17.969697
56
0.561551
[ "@testset \"Tracing example\" begin\n\n edges = tracetasks() do\n @sync begin\n @async begin\n # Embedded trace within the parent trace\n inneredges = @tracetasks 2+2\n @assert length(inneredges) == 1\n end\n Threads.@spawn begi...
73f016c55435d0fab707b57d5f939512de380ca6
987
jl
Julia
test/test_dataset.jl
UnofficialJuliaMirrorSnapshots/ArchGDAL.jl-c9ce4bd3-c3d5-55b8-8973-c0e20141b8c3
a220f0f9faf75993b38e219732868bfd45ae8fd4
[ "MIT" ]
null
null
null
test/test_dataset.jl
UnofficialJuliaMirrorSnapshots/ArchGDAL.jl-c9ce4bd3-c3d5-55b8-8973-c0e20141b8c3
a220f0f9faf75993b38e219732868bfd45ae8fd4
[ "MIT" ]
null
null
null
test/test_dataset.jl
UnofficialJuliaMirrorSnapshots/ArchGDAL.jl-c9ce4bd3-c3d5-55b8-8973-c0e20141b8c3
a220f0f9faf75993b38e219732868bfd45ae8fd4
[ "MIT" ]
null
null
null
using Test import GDAL import ArchGDAL; const AG = ArchGDAL @testset "Test methods for dataset" begin AG.registerdrivers() do AG.read("data/utmsmall.tif") do dataset AG.createcopy(dataset, "tmp/utmcopy.tif","GTiff") do copydataset @test AG.ngcp(copydataset) == 0 ...
37.961538
76
0.588652
[ "@testset \"Test methods for dataset\" begin\n AG.registerdrivers() do\n AG.read(\"data/utmsmall.tif\") do dataset\n AG.createcopy(dataset, \"tmp/utmcopy.tif\",\"GTiff\") do copydataset\n @test AG.ngcp(copydataset) == 0\n @test AG.noverview(AG.getband(copydataset,1...
73f03eedf20d2e1787d1670f55eacd63de5d4a85
390
jl
Julia
test/graphics/Graphics.jl
slwu89/Catlab.jl
d197b0c12c65fe72198baf9c990e6a4e1f3aebe0
[ "MIT" ]
19
2017-06-10T09:57:09.000Z
2019-01-27T06:22:19.000Z
test/graphics/Graphics.jl
slwu89/Catlab.jl
d197b0c12c65fe72198baf9c990e6a4e1f3aebe0
[ "MIT" ]
21
2017-06-23T01:13:31.000Z
2019-01-26T22:17:18.000Z
test/graphics/Graphics.jl
epatters/CompCat
d197b0c12c65fe72198baf9c990e6a4e1f3aebe0
[ "MIT" ]
null
null
null
using Test @testset "Layouts" begin include("WiringDiagramLayouts.jl") end @testset "Graphviz" begin include("Graphviz.jl") include("GraphvizGraphs.jl") include("GraphvizCategories.jl") include("GraphvizWiringDiagrams.jl") end @testset "Compose" begin include("ComposeWiringDiagrams.jl") end @testset "Ti...
17.727273
38
0.748718
[ "@testset \"Layouts\" begin\n include(\"WiringDiagramLayouts.jl\")\nend", "@testset \"Graphviz\" begin\n include(\"Graphviz.jl\")\n include(\"GraphvizGraphs.jl\")\n include(\"GraphvizCategories.jl\")\n include(\"GraphvizWiringDiagrams.jl\")\nend", "@testset \"Compose\" begin\n include(\"ComposeWiringDiagr...
73f2d1acb395e5d79cd5f401dbc944c69418fceb
27,565
jl
Julia
test/runtests.jl
sostock/OffsetArrays.jl
e907809fc2d145e28236c4b45bf3bba230bede73
[ "MIT" ]
null
null
null
test/runtests.jl
sostock/OffsetArrays.jl
e907809fc2d145e28236c4b45bf3bba230bede73
[ "MIT" ]
null
null
null
test/runtests.jl
sostock/OffsetArrays.jl
e907809fc2d145e28236c4b45bf3bba230bede73
[ "MIT" ]
null
null
null
using OffsetArrays using Test using DelimitedFiles using OffsetArrays: IdentityUnitRange, no_offset_view using CatIndices: BidirectionalVector using LinearAlgebra @test isempty(detect_ambiguities(OffsetArrays, Base, Core)) @testset "IdOffsetRange" begin function same_value(r1, r2) length(r1) == length(r2)...
34.585947
143
0.558716
[ "@testset \"IdOffsetRange\" begin\n function same_value(r1, r2)\n length(r1) == length(r2) || return false\n for (v1, v2) in zip(r1, r2)\n v1 == v2 || return false\n end\n return true\n end\n function check_indexed_by(r, rindx)\n for i in rindx\n r[i...
73f2ebf739cc0aaf6d400d219f078be54095c063
14,729
jl
Julia
test/stochastic_solutions_tests.jl
JuliaGNI/StochasticIntegrators.jl
4751d4c89ae8a43f4e59a56c16573f13737ad2a2
[ "MIT" ]
1
2021-06-26T18:51:38.000Z
2021-06-26T18:51:38.000Z
test/stochastic_solutions_tests.jl
JuliaGNI/StochasticIntegrators.jl
4751d4c89ae8a43f4e59a56c16573f13737ad2a2
[ "MIT" ]
1
2021-03-01T11:59:14.000Z
2021-03-01T11:59:16.000Z
test/stochastic_solutions_tests.jl
JuliaGNI/StochasticIntegrators.jl
4751d4c89ae8a43f4e59a56c16573f13737ad2a2
[ "MIT" ]
null
null
null
using StochasticIntegrators using GeometricProblems.KuboOscillator using Test nd = 3 ns = 5 nt = 10 Δt = .1 dt = Float64 t0 = 0. x0 = rand(2) y0 = rand(2) q0 = rand(1) p0 = rand(1) t1 = 1. x1 = rand(2, ns) y1 = rand(2, ns) q1 = rand(1, ns) p1 = rand(1, ns) t2 = t1 + (t1-t0) x2 ...
27.175277
82
0.544232
[ "@testset \"$(rpad(\"Wiener Process\",80))\" begin\n\n wp = WienerProcess(dt, 1, nt, 1, Δt, :strong)\n @test wp == WienerProcess(Δt, wp.ΔW[:], wp.ΔZ[:], :strong)\n @test ndims(wp) == 2\n\n wp = WienerProcess(dt, 1, nt, 1, Δt, :weak)\n @test wp == WienerProcess(Δt, wp.ΔW[:], wp.ΔZ[:], :weak)\n @t...
73f4d46d9aa71c4419775e14d31c8ba7f858dca4
21,661
jl
Julia
test/data.jl
roualdes/DataFrames.jl
b7ece34633bc24afe9e8b4a1a6b27016c6ffe06c
[ "MIT" ]
null
null
null
test/data.jl
roualdes/DataFrames.jl
b7ece34633bc24afe9e8b4a1a6b27016c6ffe06c
[ "MIT" ]
null
null
null
test/data.jl
roualdes/DataFrames.jl
b7ece34633bc24afe9e8b4a1a6b27016c6ffe06c
[ "MIT" ]
null
null
null
module TestData using Test, DataFrames, Random, Statistics, CategoricalArrays const ≅ = isequal @testset "constructors" begin df1 = DataFrame([[1, 2, missing, 4], ["one", "two", missing, "four"]], [:Ints, :Strs]) df2 = DataFrame([[1, 2, missing, 4], ["one", "two", missing, "four"]], :auto) df3 = DataFrame...
40.187384
106
0.485989
[ "@testset \"constructors\" begin\n df1 = DataFrame([[1, 2, missing, 4], [\"one\", \"two\", missing, \"four\"]], [:Ints, :Strs])\n df2 = DataFrame([[1, 2, missing, 4], [\"one\", \"two\", missing, \"four\"]], :auto)\n df3 = DataFrame([[1, 2, missing, 4]], :auto)\n df6 = DataFrame([[1, 2, missing, 4], [1, ...