github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/examples/gno.land/p/demo/tests/z0_filetest.gno (about)

     1  package main
     2  
     3  import (
     4  	ptests "gno.land/p/demo/tests"
     5  	rtests "gno.land/r/demo/tests"
     6  )
     7  
     8  func main() {
     9  	println(rtests.Counter())
    10  	ptests.IncCounter()
    11  	println(rtests.Counter())
    12  }
    13  
    14  // Output:
    15  // 0
    16  // 1