File: ScanData_gtest.cpp

package info (click to toggle)
pbseqlib 5.3.5%2Bdfsg-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,152 kB
  • sloc: cpp: 77,259; python: 331; sh: 103; makefile: 41
file content (33 lines) | stat: -rw-r--r-- 901 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
 * =====================================================================================
 *
 *       Filename:  ScanData_gtest.cpp
 *
 *    Description:  Test pbdata/reads/ScanData.hpp
 *
 *        Version:  1.0
 *        Created:  11/29/2012 03:55:46 PM
 *       Revision:  08/20/2014
 *       Compiler:  gcc
 *
 *         Author:  Yuan Li (yli), yli@pacificbiosciences.com
 *        Company:  Pacific Biosciences
 *
 * =====================================================================================
 */

#include <gtest/gtest.h>

#include <pbdata/reads/ScanData.hpp>

TEST(ScanDataTest, GetMovieName)
{
    ScanData sd;
    EXPECT_EQ(sd.platformId, NoPlatform);
    EXPECT_EQ(sd.frameRate, 0.0f);
    EXPECT_EQ(sd.numFrames, 0u);
    EXPECT_EQ(sd.movieName.size(), 0u);
    EXPECT_EQ(sd.runCode.size(), 0u);
    EXPECT_EQ(sd.whenStarted.size(), 0u);
    EXPECT_EQ(sd.baseMap.size(), 0u);
}