variables_test.go 270 B

12345678910111213
  1. package examples
  2. import (
  3. "testing"
  4. )
  5. func TestVariables(t *testing.T) {
  6. integer, c, python, java := Variables()
  7. if integer != 0 || c != false || python != false || java != false {
  8. t.Fatalf("Some of the values were not initialized to their default values.")
  9. }
  10. }