Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 78 for assertbig (0.29 sec)

  1. android/guava-tests/test/com/google/common/net/HostSpecifierTest.java

      }
    
      public void testBadIpAddresses() {
        for (String spec : BAD_IPS) {
          assertBad(spec);
        }
      }
    
      public void testGoodDomains() throws ParseException {
        for (String spec : GOOD_DOMAINS) {
          assertGood(spec);
        }
      }
    
      public void testBadDomains() {
        for (String spec : BAD_DOMAINS) {
          assertBad(spec);
        }
      }
    
      public void testEquality() {
        new EqualsTester()
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 18 15:33:20 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/LocalValueTest.kt

            val (rhs1, rhs2) = rhsOrigins
    
            with(rhs1.assigned) {
                assertIs<ObjectOrigin.NewObjectFromMemberFunction>(this)
                assertEquals("my1", function.simpleName)
            }
    
            with(rhs2.assigned) {
                assertIs<ObjectOrigin.NewObjectFromMemberFunction>(this)
                assertEquals("my2", function.simpleName)
            }
        }
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 12:28:39 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/SerializationTest.kt

    import org.gradle.internal.declarativedsl.demo.resolve
    import org.gradle.internal.declarativedsl.serialization.SchemaSerialization
    import kotlin.test.Test
    import kotlin.test.assertEquals
    import kotlin.test.assertIs
    
    
    object SerializationTest {
        private
        val pluginsSchema: AnalysisSchema = schema
    
        @Test
        fun `schema is serializable`() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:07:27 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow_to_stablehlo/python/integration_test/tensorflow_to_stablehlo_test.py

              input_path=path, input_arg_shapes_str='4'
          )
          with ir.Context() as ctx:
            stablehlo.register_dialect(ctx)
            module = ir.Module.parse(module_bytecode)
            self.assertIn('stablehlo.add %arg0, %cst : tensor<4xf32>', str(module))
    
      def test_tf_mlir_to_stablehlo(self):
        assembly = """
          module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultCachePolicySpec.groovy

            expect:
            cachePolicy.eachModule(new Action<ModuleResolutionControl>() {
                void execute(ModuleResolutionControl t) {
                    assertId(t.request, 'g', 'n', 'v')
                    assertId(t.cachedResult.id, 'group', 'name', 'version')
                    assert !t.changing
                    t.refresh()
                }
            })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 30 22:04:14 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/SubtypingTest.kt

    import org.gradle.internal.declarativedsl.demo.resolve
    import org.gradle.internal.declarativedsl.schemaBuilder.schemaFromTypes
    import org.junit.jupiter.api.Test
    import kotlin.test.assertEquals
    import kotlin.test.assertIs
    import kotlin.test.assertNotNull
    import kotlin.test.assertTrue
    
    
    object SubtypingTest {
        val schema = schemaFromTypes(
            TopLevelForSubtyping::class,
            listOf(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:02 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/DelegatedGradlePropertiesIntegrationTest.kt

                "help"
            )
    
            // when: both settings and project scripts asserting on delegated properties
            withSettings(requirePropertiesFromSettings())
            withBuildScript(requirePropertiesFromProject())
    
            // then:
            build(*buildArguments)
    
            // when: project script buildscript block asserting on delegated properties
            withSettings("")
            withBuildScript(
                """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/PropertyTest.kt

    import kotlin.test.Test
    import kotlin.test.assertEquals
    import kotlin.test.assertIs
    import kotlin.test.assertTrue
    
    
    object PropertyTest {
        @Test
        fun `read-only property cannot be written`() {
            val result = schema().resolve("x = y")
            val singleError = result.errors.single().errorReason
            assertIs<ErrorReason.ReadOnlyPropertyAssignment>(singleError)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. tensorflow/c/c_op_requires.h

    #ifndef TENSORFLOW_C_C_OP_REQUIRES_H_
    #define TENSORFLOW_C_C_OP_REQUIRES_H_
    
    #include "tensorflow/core/platform/macros.h"
    
    namespace tensorflow {
    
    // Convenience macros for asserting and handling exceptional conditions, for
    // C structs, including `TF_OpKernelContext`, `TF_Status`, etc. This is analogus
    // to the macros in tensorflow/core/framework/op_requires.h. This is provided
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 02 21:35:06 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

        boolean suppressGetSupertype() default false;
      }
    
      private @Nullable Method method = null;
    
      /** Call this in a {@link TestSubtype} public method asserting subtype relationship. */
      final <T> T isSubtype(T sub) {
        Type returnType = method.getGenericReturnType();
        Type paramType = getOnlyParameterType();
        TestSubtype spec = method.getAnnotation(TestSubtype.class);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 6.1K bytes
    - Viewed (0)
Back to top