Sha256: c2774825d854da1bab237698ee61273074e2643a36b6106dc8963cd808c7c205
Contents?: true
Size: 925 Bytes
Versions: 1
Compression:
Stored size: 925 Bytes
Contents
Fabricator(:pm, from: Bioinform::PM) do initialize_with{ Bioinform::PM.new(matrix: [[1,2,3,4],[5,6,7,8]], name: 'PM_name') } end Fabricator(:pm_unnamed, from: :pm) do name nil end Fabricator(:pm_first, from: :pm) do name 'PM_first' end Fabricator(:pm_second, from: :pm) do matrix [[15,16,17,18],[11,21,31,41]] name 'PM_second' end Fabricator(:pm_4x4, from: :pm) do matrix [[1,2,3,4],[5,6,7,8],[9,10,11,12],[13,14,15,16]] end Fabricator(:pm_4x4_unnamed, from: :pm_4x4) do name nil end Fabricator(:pm_with_floats, from: :pm_unnamed) do matrix [[1.23, 4.56, 7.8, 9.0], [9, -8.7, 6.54, -3210]] end Fabricator(:pm_1, from: :pm) do matrix [[0,1,2,3],[4,5,6,7]] name 'motif_1' end Fabricator(:pm_2, from: :pm) do matrix [[1,2,3,4],[5,6,7,8],[9,10,11,12]] name 'motif_2' end Fabricator(:pm_3, from: :pm) do matrix [[2,3,4,5],[6,7,8,9]] name 'motif_3' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bioinform-0.1.8 | spec/fabricators/pm_fabricator.rb |