Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for abac_test (0.07 sec)

  1. src/testing/testing.go

    //	}
    //
    // If the file is in a separate "_test" package, the package being tested
    // must be imported explicitly and only its exported identifiers may be used.
    // This is known as "black box" testing.
    //
    //	package abs_test
    //
    //	import (
    //		"testing"
    //
    //		"path_to_pkg/abs"
    //	)
    //
    //	func TestAbs(t *testing.T) {
    //	    got := abs.Abs(-1)
    //	    if got != 1 {
    //	        t.Errorf("Abs(-1) = %d; want 1", got)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
Back to top