public void IsNotPhotoTest() { var imagePath = @"C:\Sources\GitRepository\StudyDesktopApp\WPFApp\WpfAdvBank\packages\Newtonsoft.Json.13.0.1"; bool result = BoardLibrary.IsPhoto(imagePath); Assert.IsFalse(result, "file extension must be png, jpg, gif"); //imagepath 주소에 확장자 없으면 istrue일때 테스트 실패, isfalse면 테스트 성공 }
public void IsNotPhotoTest() { var imagePath = @"D:\GitRepository\StudyAspNet21\210414_DotNetNote\210414_DotNetNote\images\dnn\key_login.gif"; // 이미지 파일경로 bool result = BoardLibrary.IsPhoto(imagePath); Assert.IsFalse(result, "file extension must be png, jpg, gif"); }
public void IsNotPhotoTest() { var imagepath = @"D:\Sources\Gitrepository\StudyDesktopApp\WPFApp\main.pdf"; bool result = BoardLibrary.IsPhoto(imagepath); Assert.IsFalse(result, "file extension must be png, jpg, gif"); // 거짓이어야 테스트가 넘어감 }
public void IsNotPhotoTest() { var imagePath = @"D:\GitRepository\StudyDesktopApp\WPFApp\WpfExecutiveBank\SnakeBiteGame\main.pdf"; bool result = BoardLibrary.IsPhoto(imagePath); Assert.IsFalse(result, "file extension must be png, jpg, gif"); }
public void IsPhotoTest() { var imagePath = @"D:\GitRepository\StudyDesktopApp\WpfApp"; bool result = BoardLibrary.IsPhoto(imagePath); Assert.IsFalse(result, "file extension must be png , jpg, gif"); }
public void IsPhotoTest() { var imagePath = @"C:\Users\PKNU\Desktop\ㅇㅅㅇ\youtube.png"; bool result = BoardLibrary.IsPhoto(imagePath); Assert.IsTrue(result, "file extension must be png, jpg, gif"); }
public void IsNotPhotoTest() { var imagePath = @"D:\sources\GitRepository\StudyDesktopApp\ResultImg\WinIot2.png"; bool result = BoardLibrary.IsPhoto(imagePath); Assert.IsFalse(result, "file extension must be png, jpg, gif"); }
public void IsPhotoTest() { var ImagePath = @"D:\GitRepository\StudyDesktopApp\WPFApp\main.png"; bool result = BoardLibrary.IsPhoto(ImagePath); Assert.IsTrue(result, "file extension must be png, jpg, gif"); }
public void IsPhotoTest2() { var imagePath = @"C:\Users\PKNU\Downloads\naver.ico"; bool result = BoardLibrary.IsPhoto(imagePath); Assert.IsFalse(result, "File Extension must be png, jpg, gif"); }
public void IsPhotoTest() { var imagePath = @"C:\Users\PKNU\Downloads\no_picture.jpg"; bool result = BoardLibrary.IsPhoto(imagePath); Assert.IsTrue(result, "File Extension must be png, jpg, gif"); }
public void IsNotPhotoTest() { var imagePath = @"C:\Users\PKNU\Desktop\Source\youtube.ico"; bool result = BoardLibrary.IsPhoto(imagePath); Assert.IsFalse(result, "file extension must be png,jpg,gif"); }
public void InstantiateBoardMVC() { //LevelLayout boradLibrary = new BoardLibrary(); //Model boardModel = new BoardModel(mapSize); //Level3_StartState(boardModel); //Controller boardController.SetModel(boardModel); //View boardView = new BoardView(); boardView.SetModel(boardModel); }
void Start() { boardLibrary = new BoardLibrary(); DontDestroyOnLoad(gameObject); }