// Copyright 2009 the Sputnik authors.  All rights reserved.
/**
 * String.prototype.localeCompare(that)
 *
 * @path ch15/15.5/15.5.4/15.5.4.9/S15.5.4.9_A1_T2.js
 * @description Call string_1.localeCompare(string_2) is equal -string_2.localeCompare(string_1)
 */

//CHECK#1
var str1 = "h";
var str2 = "H";
if (str1.localeCompare(str2)!==-str2.localeCompare(str1)){
  $ERROR('#1.1: var str1 = "h"; var str2 = "H"; str1.localeCompare(str2)===-str2.localeCompare(str1). Actual: '+str1.localeCompare(str2));
}

