github.com/cellofellow/gopkg@v0.0.0-20140722061823-eec0544a62ad/database/leveldb.chai2010/db_test.go (about) 1 // Copyright 2013 <chaishushan{AT}gmail.com>. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package leveldb 6 7 import ( 8 "testing" 9 ) 10 11 func TestVersion(t *testing.T) { 12 //if v := leveldb_major_version(); v != MajorVersion { 13 // t.Fatalf("expect = %d, got = %d\n", v, MajorVersion) 14 //} 15 //if v := leveldb_minor_version(); v != MinorVersion { 16 // t.Fatalf("expect = %d, got = %d\n", v, MinorVersion) 17 //} 18 } 19 20 func TestSnapshot(t *testing.T) { 21 // 22 } 23 24 func TestDB(t *testing.T) { 25 // 26 }