Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for testOf5 (0.06 sec)

  1. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

      public void testOf0() {
        assertThat(ImmutableDoubleArray.of().asList()).isEmpty();
      }
    
      public void testOf1() {
        assertThat(ImmutableDoubleArray.of(0).asList()).containsExactly(0.0);
      }
    
      public void testOf2() {
        assertThat(ImmutableDoubleArray.of(0, 1).asList()).containsExactly(0.0, 1.0).inOrder();
      }
    
      public void testOf3() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

      public void testOf0() {
        assertThat(ImmutableIntArray.of().asList()).isEmpty();
      }
    
      public void testOf1() {
        assertThat(ImmutableIntArray.of(0).asList()).containsExactly(0);
      }
    
      public void testOf2() {
        assertThat(ImmutableIntArray.of(0, 1).asList()).containsExactly(0, 1).inOrder();
      }
    
      public void testOf3() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

      public void testOf0() {
        assertThat(ImmutableDoubleArray.of().asList()).isEmpty();
      }
    
      public void testOf1() {
        assertThat(ImmutableDoubleArray.of(0).asList()).containsExactly(0.0);
      }
    
      public void testOf2() {
        assertThat(ImmutableDoubleArray.of(0, 1).asList()).containsExactly(0.0, 1.0).inOrder();
      }
    
      public void testOf3() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_experimental_test.cc

      TF_DeleteFunction(funcs[0]);
    }
    
    TEST_F(CApiExperimentalFunctionTest, EmptyGraphRemoveNonExistentFunction) {
      TF_GraphRemoveFunction(func_graph_, "wrong_name", s_);
      EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_));
      EXPECT_EQ(string("Tried to remove non-existent function 'wrong_name'."),
                string(TF_Message(s_)));
    }
    
    TEST_F(CApiExperimentalFunctionTest, GraphRemoveNonExistentFunction) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Jan 17 22:27:52 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/OptionalTest.java

      }
    
      public void testAbsent() {
        Optional<String> optionalName = Optional.absent();
        assertFalse(optionalName.isPresent());
      }
    
      public void testOf() {
        assertEquals("training", Optional.of("training").get());
      }
    
      public void testOf_null() {
        assertThrows(NullPointerException.class, () -> Optional.of(null));
      }
    
      public void testFromNullable() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            assertTrue(result.getErrors().get(2).contains("test:f"));
        }
    
        @Test
        void testBadDependencyScope() throws Exception {
            SimpleProblemCollector result = validate("bad-dependency-scope.xml");
    
            assertViolations(result, 0, 0, 2);
    
            assertTrue(result.getWarnings().get(0).contains("test:f"));
    
            assertTrue(result.getWarnings().get(1).contains("test:g"));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

        assertEquals("../this/is/ok", simplifyPath("../this/is/ok"));
        assertEquals("../ok", simplifyPath("../this/../ok"));
      }
    
      // https://github.com/google/guava/issues/705
      public void test705() {
        assertEquals("../b", simplifyPath("x/../../b"));
        assertEquals("b", simplifyPath("x/../b"));
      }
    
      // https://github.com/google/guava/issues/716
      public void test716() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

        assertEquals("../this/is/ok", simplifyPath("../this/is/ok"));
        assertEquals("../ok", simplifyPath("../this/../ok"));
      }
    
      // https://github.com/google/guava/issues/705
      public void test705() {
        assertEquals("../b", simplifyPath("x/../../b"));
        assertEquals("b", simplifyPath("x/../b"));
      }
    
      // https://github.com/google/guava/issues/716
      public void test716() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/HashingTest.java

     * tests to reference them from there.
     *
     * @author Dimitris Andreou
     * @author Kurt Alfred Kluever
     */
    public class HashingTest extends TestCase {
      public void testMd5() {
        HashTestUtils.checkAvalanche(Hashing.md5(), 100, 0.4);
        HashTestUtils.checkNo2BitCharacteristics(Hashing.md5());
        HashTestUtils.checkNoFunnels(Hashing.md5());
        HashTestUtils.assertInvariants(Hashing.md5());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 17:40:09 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  10. tests/joins_test.go

    package tests_test
    
    import (
    	"fmt"
    	"regexp"
    	"sort"
    	"testing"
    
    	"github.com/stretchr/testify/assert"
    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestJoins(t *testing.T) {
    	user := *GetUser("joins-1", Config{Company: true, Manager: true, Account: true, NamedPet: false})
    
    	DB.Create(&user)
    
    	var user2 User
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 17 03:58:13 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top