);      // Try to create entries with more than one decimal separator; assert fail.     $wrong_entries = [       '0.00.000',       '0..00000',       '..0000',       '0.000.00',       '0.0..00',     ];      foreach ($wrong_entries as $wrong_entry) {       $this->drupalGet('entity_test/add');       $edit = [         "{$field_name}[0][value]" => $wrong_entry,       ];       $this->drupalPostForm(NULL, $edit, t('Save'));       $this->assertRaw(t('%name must be a number.', ['%name' => $field_name]), 'Correctly failed to save float value with more than one decimal point.');     }      // Try to create entries with minus sign not in the first position.     $wrong_entries = [       '0-0',       '0-',       '0.0-',       '0.0-0',       '-00-00',     ];      foreach ($wrong_entries as $wrong_entry) {       $this->drupalGet('entity_test/add');       $edit = [         "{$field_name}[0][value]" => $wrong_entry,       ];       $this->drupalPostForm(NULL, $edit, t('Save'));       $this->assertRaw(t('%name must be a number.', ['%name' => $field_name]), 'Correctly failed to save float value with minus sign in the wrong position.');     }   }    /**    * Test 