mirror of
				https://github.com/fmtlib/fmt.git
				synced 2025-11-04 08:01:40 +01:00 
			
		
		
		
	
		
			
	
	
		
			16 lines
		
	
	
		
			272 B
		
	
	
	
		
			C++
		
	
	
	
	
	
		
		
			
		
	
	
			16 lines
		
	
	
		
			272 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| 
								 | 
							
								/*
							 | 
						||
| 
								 | 
							
								 Tests of string utilities
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								 Copyright (c) 2012 - 2016, Victor Zverovich
							 | 
						||
| 
								 | 
							
								 All rights reserved.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								 For the license information refer to format.h.
							 | 
						||
| 
								 | 
							
								 */
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#include "fmt/string.h"
							 | 
						||
| 
								 | 
							
								#include "gtest/gtest.h"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								TEST(StringTest, ToString) {
							 | 
						||
| 
								 | 
							
								  EXPECT_EQ("42", fmt::to_string(42));
							 | 
						||
| 
								 | 
							
								}
							 |