Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for zed (0.14 sec)

  1. src/bytes/bytes_test.go

    		t.Errorf("shrinking: expected %q got %q", expect, m)
    	}
    
    	// 3. Rot13
    	m = Map(rot13, []byte("a to zed"))
    	expect = "n gb mrq"
    	if string(m) != expect {
    		t.Errorf("rot13: expected %q got %q", expect, m)
    	}
    
    	// 4. Rot13^2
    	m = Map(rot13, Map(rot13, []byte("a to zed")))
    	expect = "a to zed"
    	if string(m) != expect {
    		t.Errorf("rot13: expected %q got %q", expect, m)
    	}
    
    	// 5. Drop
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
Back to top