8 use SGN::Test::Fixture;
9 use CXGN::Trial::TrialLayout;
11 my $f = SGN::Test::Fixture->new();
15 my $tl = CXGN::Trial::TrialLayout->new({ schema => $f->bcs_schema(), trial_id => $trial_id, experiment_type => 'field_layout' });
17 my $d = $tl->get_design();
19 #print STDERR Dumper($d);
22 # 'rep_number' => '1',
23 # 'plot_number' => '35700',
24 # 'block_number' => '6',
25 # 'accession_name' => 'UG120109',
26 # 'plot_name' => 'KASESE_TP2013_699',
32 is($d->{35700}->{block_number}, 6, "block number");
33 is($d->{35700}->{accession_name}, 'UG120109', "accession name");
34 is($d->{35700}->{plot_id}, 39893, "plot_id");