File: ScanData_gtest.cpp

package info (click to toggle)
pbseqlib 0~20161219-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,924 kB
  • ctags: 5,123
  • sloc: cpp: 82,727; makefile: 305; python: 239; sh: 8
file content (31 lines) | stat: -rw-r--r-- 885 bytes parent folder | download | duplicates (4)
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
/*
 * =====================================================================================
 *
 *       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 "reads/ScanData.hpp"

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