Skip to content

dariuskramer/vittf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Vittf Is a Tiny Test Framework

Assertions

  • v_assert(expression)
  • v_assert_str(expected, actual)
  • v_assert_pass(expression)
  • v_assert_str_pass(expected, actual)

Example

void	test_name1(void)
{
	v_assert(1 == 1);
	v_assert_str("Hello", "World!");

	v_test_success("Name1");
}

void	suite_name(void)
{
	test_name1();

	v_suite_success("Filename");
}

int		main(void)
{
	suite_name();

	v_full_success("Program");
	return (0);
}

Sources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages