mirror of
				https://github.com/chaisql/chai.git
				synced 2025-10-31 10:56:22 +08:00 
			
		
		
		
	 e556fc3048
			
		
	
	e556fc3048
	
	
	
		
			
			* Add packaged functions support * Add tests for math.floor func * Export FunctionsTable * Extract func stuff into its own package * Rename stuff * Fix tests * Move doc package to cmd/genji * Adjust naming, typos
		
			
				
	
	
		
			13 lines
		
	
	
		
			225 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			225 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package functions_test
 | |
| 
 | |
| import (
 | |
| 	"path/filepath"
 | |
| 	"testing"
 | |
| 
 | |
| 	"github.com/genjidb/genji/internal/testutil"
 | |
| )
 | |
| 
 | |
| func TestMathFunctions(t *testing.T) {
 | |
| 	testutil.ExprRunner(t, filepath.Join("testdata", "math_functions.sql"))
 | |
| }
 |