public bool Validate(byte[] buffer) { bool isPCX = PCX.Instance.Validate(buffer); bool isMAP = MAP.ValidateFormat(buffer); bool isFPG = FPG.ValidateFormat(buffer); return(!(isPCX || isMAP || isFPG)); }
public void Validate() { string filename = this.GetAssetPath(SharedConstants.FILENAME_FPG_TEST); Assert.IsTrue(FPG.ValidateFormat(filename)); }
public void FailValidate() { string filename = this.GetAssetPath(SharedConstants.FILENAME_IMG_PLAYER_BMP); Assert.IsFalse(FPG.ValidateFormat(filename)); }
public bool Validate(byte[] buffer) { return(FPG.ValidateFormat(buffer)); }