<commit_before><?php
namespace Edu\Cnm\TeamCuriosity\Test;

use Edu\Cnm\TeamCuriosity\{Image};

// grab the project test parameters
require_once("../php/classes/Autoload.php");

/**
 * Full PHPUnit test for the Image class
 * 
 * This is a complete PHPUnit test of the Image class. It is complete because *ALL* mySOL/PDO enabled methods are tested for both invalid and valid inputs
 * 
 * @see Image
 * @author <NAME>
 **/
class ImageTest extends TeamCuriosityTest {
	/**
	 * Camera of where image was taken
	 * @var string $VALID_IMAGECAMERA
	 **/
	protected $VALID_IMAGECAMERA = "Test Camera";
	/**
	 * description of the Image
	 * @var string $VALID_IMAGEDESCRIPTION
	 **/
	protected $VALID_IMAGEDESCRIPTION = "This is a test";
	/**
	 * timestamp of the Image; this starts as null and is assigned later
	 * @var \DateTime|null $VALID_IMAGEEARTHDATE
	 **/
	protected $VALID_IMAGEEARTHDATE = null;
	/**
	 * local file path of image
	 * @var $VALID_IMAGEPATH
	 **/
	protected $VALID_IMAGEPATH;
	/**
	 * martian date for image
	 * @var int $VALID_IMAGESOL
	 **/
	protected $VALID_IMAGESOL = "1234";
	/**
	 * title of image
	 * @var string $VALID_IMAGETITLE
	 **/
	protected $VALID_IMAGETITLE = "Test Title";
	/**
	 * updated title of image
	 * @var string $VALID_IMAGETITLE2
	 **/
	protected $VALID_IMAGETITLE2;
	/**
	 * invalid image title
	 * @var string $INVALID_IMAGETITLE
	 **/
	protected $INVALID_IMAGETITLE = "123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890";
	/**
	 * MIME type of image
	 * @var string $VALID_IMAGETYPE
	 **/
	protected $VALID_IMAGETYPE;
	/**
	 * source url of image
	 * @var $VALID_IMAGEURL
	 **/
	protected $VALID_IMAGEURL;

	/**<commit_msg>ok false alarm, this is the last one https://app.asana.com/0/117435667927136/119450510065338<commit_after><?php
namespace Edu\Cnm\TeamCuriosity\Test;

use Edu\Cnm\TeamCuriosity\{Image};

// grab the project test parameters
require_once("../php/classes/Autoload.php");

/**
 * Full PHPUnit test for the Image class
 * 
 * This is a complete PHPUnit test of the Image class. It is complete because *ALL* mySOL/PDO enabled methods are tested for both invalid and valid inputs
 * 
 * @see Image
 * @author <NAME>
 **/
class ImageTest extends TeamCuriosityTest {
	/**
	 * Camera of where image was taken
	 * @var string $VALID_IMAGECAMERA
	 **/
	protected $VALID_IMAGECAMERA = "Test Camera";
	/**
	 * description of the Image
	 * @var string $VALID_IMAGEDESCRIPTION
	 **/
	protected $VALID_IMAGEDESCRIPTION = "This is a test";
	/**
	 * timestamp of the Image; this starts as null and is assigned later
	 * @var \DateTime|null $VALID_IMAGEEARTHDATE
	 **/
	protected $VALID_IMAGEEARTHDATE = null;
	/**
	 * local file path of image
	 * @var $VALID_IMAGEPATH
	 **/
	protected $VALID_IMAGEPATH = "test/local/filepath";
	/**
	 * martian date for image
	 * @var int $VALID_IMAGESOL
	 **/
	protected $VALID_IMAGESOL = "1234";
	/**
	 * title of image
	 * @var string $VALID_IMAGETITLE
	 **/
	protected $VALID_IMAGETITLE = "Test Title";
	/**
	 * updated title of image
	 * @var string $VALID_IMAGETITLE2
	 **/
	protected $VALID_IMAGETITLE2 = "Updated Test Title";
	/**
	 * invalid image title
	 * @var string $INVALID_IMAGETITLE
	 **/
	protected $INVALID_IMAGETITLE = "123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890";
	/**
	 * MIME type of image
	 * @var string $VALID_IMAGETYPE
	 **/
	protected $VALID_IMAGETYPE = "FakeMIMEType";
	/**
	 * source url of image
	 * @var $VALID_IMAGEURL
	 **/
	protected $VALID_IMAGEURL = "test/file/url";

	/**
{'fraction_non_alphanumeric': 0.10821590002658868, 'fraction_numerical': 0.10715235309758044, 'mean_word_length': 4.153424657534247, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6320109', 'n_tokens_mistral': 1559, 'n_tokens_neox': 1223, 'n_words': 334}