def test_is_train_data7(self): """ train_data case7 : txt file """ filepath = 'test0.txt' assert not dataset.is_train_data(filepath)
def test_is_train_data8(self): """ train_data case8 : txt file under directory """ filepath = 'test/test0.txt' assert not dataset.is_train_data(filepath)
def test_is_train_data6(self): """ train_data case6 : bmp file under directory """ filepath = 'test/test0.bmp' assert dataset.is_train_data(filepath)
def test_is_train_data5(self): """ train_data case5 : bmp file """ filepath = 'test0.bmp' assert dataset.is_train_data(filepath)
def test_is_train_data4(self): """ train_data case4 : jpg file under directory """ filepath = 'test/test0.png' assert dataset.is_train_data(filepath)
def test_is_train_data3(self): """ train_data case3 : jpg file """ filepath = 'test0.jpg' assert dataset.is_train_data(filepath)
def test_is_train_data1(self): """ train_data case1 : png file """ filepath = 'test0.png' assert dataset.is_train_data(filepath)